borland Packages Class Hierarchy datastore Package
java.lang.Object +----com.borland.datastore.StreamProperties
Properties Methods
The StreamProperties
class contains properties for a DataStore
stream.
An instance of this class is returned using the DataStore.getStreamProperties()
method.
public final boolean isCaseInsensitive()Read-only property that returns true if the stream type is
DataStore.SECOND_INDEX_STREAM
and it is a caseInsensitive secondary index.
public final Column[] getColumns()Read-only property that returns an array of Columns if this is a stream type of
DataStore.TABLE_STREAM
or DataStore.SECOND_INDEX_STREAM
.
public final boolean[] getDescending()Read-only property that returns true if the stream type is
DataStore.SECOND_INDEX_STREAM
and it is a descending order secondary index.
public final String getFilterClassName()Read-only property that returns the name of the class that filters the rows for this secondary index.
public final String getIndexName()Read-only property that returns the index name if the stream type is
DataStore.SECOND_INDEX_STREAM
.
public final boolean isPrimary()This property returns true if the stream type is
DataStore.SECOND_INDEX_STREAM
and it is the primary index.
There is only one primary index and all columns in the primary index have a not-null constraint.
public final boolean isUnique()Returns true if the stream type is
DataStore.SECOND_INDEX_STREAM
and it is a unique secondary index.
public final boolean isDescending(int keyIndex)Returns true if the stream type is
DataStore.SECOND_INDEX_STREAM
and its keyIndex
column is in descending order.