com.businessobjects.connectionserver.datasources.ddk
Interface Record


public interface Record

This interface provides the custom driver with the functionality to fetch and populate a single row of data retrieved from the data source. This interface provides methods to handle data based on the data type.

For more information on the usage of this interface, refer to the custom driver sample code.

Author:
Business Objects

Method Summary
 void addItem(java.math.BigDecimal value, boolean isNull)
          Adds either a non null BigDecimal value or null value to the row.
 void addItem(byte[] value, boolean isNull)
          Adds either a non-null byte array value or null value to the row.
 void addItem(byte value, boolean isNull)
          Adds either a byte value or null value to the row.
 void addItem(java.util.Date value, boolean isNull)
          Adds either a non null Date value or null value to the row.
 void addItem(java.sql.Date value, boolean isNull)
          Adds either a non null Date value or null value to the row.
 void addItem(double value, boolean isNull)
          Adds either a double float value or null value to the row.
 void addItem(float value, boolean isNull)
          Adds either a float value or null value to the row.
 void addItem(int value, boolean isNull)
          Adds either an integer value or null value to the row.
 void addItem(long value, boolean isNull)
          Adds either a long integer value or null value to the row.
 void addItem(short value, boolean isNull)
          Adds either a short integer value or null value to the row.
 void addItem(java.lang.String value, boolean isNull)
          This method adds either a non null String value or null value to the row.
 void addItem(java.sql.Time value, boolean isNull)
          Adds either a non null Time value or null value to the row.
 void addItem(java.sql.Timestamp value, boolean isNull)
          Adds either a non null Timestamp value or null value to the row.
 

Method Detail

addItem

void addItem(java.lang.String value,
             boolean isNull)

This method adds either a non null String value or null value to the row.

Parameters:
value - A non-null string, or a null if isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(byte[] value,
             boolean isNull)

Adds either a non-null byte array value or null value to the row.

Parameters:
value - A non-null byte array, or null if isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(byte value,
             boolean isNull)

Adds either a byte value or null value to the row.

Parameters:
value - A byte, or 0 if isNull is set to True.
isNull - True if the value to be added is 0.

addItem

void addItem(short value,
             boolean isNull)

Adds either a short integer value or null value to the row.

Parameters:
value - A short or 0 if isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(int value,
             boolean isNull)

Adds either an integer value or null value to the row.

Parameters:
value - An integer or 0 if isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(long value,
             boolean isNull)

Adds either a long integer value or null value to the row.

Parameters:
value - A long integer or 0 isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(float value,
             boolean isNull)

Adds either a float value or null value to the row.

Parameters:
value - A float or 0 if isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(double value,
             boolean isNull)

Adds either a double float value or null value to the row.

Parameters:
value - A double float or 0 isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(java.math.BigDecimal value,
             boolean isNull)

Adds either a non null BigDecimal value or null value to the row.

Parameters:
value - A non null or null isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(java.util.Date value,
             boolean isNull)

Adds either a non null Date value or null value to the row.

Parameters:
value - A non null Date or null isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(java.sql.Date value,
             boolean isNull)

Adds either a non null Date value or null value to the row.

Parameters:
value - A non null Date or null if isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(java.sql.Time value,
             boolean isNull)

Adds either a non null Time value or null value to the row.

Parameters:
value - A non null Time or null isNull is set to True.
isNull - True if the value to be added is null.

addItem

void addItem(java.sql.Timestamp value,
             boolean isNull)

Adds either a non null Timestamp value or null value to the row.

Parameters:
value - A non null Timestamp or null isNull is set to True.
isNull - True if the value to be added is null.