borland Packages  Class Hierarchy  datastore Package 

StreamProperties class

java.lang.Object
   +----com.borland.datastore.StreamProperties

About the StreamProperties class

Properties  Methods  
The StreamProperties class contains properties for a DataStore stream. An instance of this class is returned using the DataStore.getStreamProperties() method.

StreamProperties properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

StreamProperties methods

Methods implemented in this class

Methods implemented in java.lang.Object


StreamProperties properties

caseInsensitive

 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.

columns

 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.

descending

 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.

filterClassName

 public final String getFilterClassName()
Read-only property that returns the name of the class that filters the rows for this secondary index.

indexName

 public final String getIndexName()
Read-only property that returns the index name if the stream type is DataStore.SECOND_INDEX_STREAM.

primary

 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.

unique

 public final boolean isUnique()
Returns true if the stream type is DataStore.SECOND_INDEX_STREAM and it is a unique secondary index.

StreamProperties methods

isDescending(int)

  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.