Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: sdbc ::
constants group ColumnSearch
Description indicates in which way a column can be used in the WHERE search.

Constants
NONE | A possible value for column`SEARCHABLE` in the XResultSet object returned by the method XDatabaseMetaData::getTypeInfo() .
CHAR | A possible value for column`SEARCHABLE` in the XResultSet object returned by the method XDatabaseMetaData::getTypeInfo() .
BASIC | A possible value for column`SEARCHABLE` in the XResultSet object returned by the method XDatabaseMetaData::getTypeInfo() .
FULL | A possible value for column `SEARCHABLE` in the XResultSet object returned by the method XDatabaseMetaData::getTypeInfo() .

Constants' Details
NONE
const long NONE = 0; Description A possible value for column`SEARCHABLE` in the XResultSet object returned by the method XDatabaseMetaData::getTypeInfo() . Indicates that `WHERE` search clauses are not supported for this type.
CHAR
const long CHAR = 1; Description A possible value for column`SEARCHABLE` in the XResultSet object returned by the method XDatabaseMetaData::getTypeInfo() . Indicates that the only `WHERE` search clause that can be based on this type is `WHERE...LIKE` .
BASIC
const long BASIC = 2; Description A possible value for column`SEARCHABLE` in the XResultSet object returned by the method XDatabaseMetaData::getTypeInfo() . Indicates that one can base all `WHERE` search clauses except `WHERE...LIKE` on this data type.
FULL
const long FULL = 3; Description A possible value for column `SEARCHABLE` in the XResultSet object returned by the method XDatabaseMetaData::getTypeInfo() . Indicates that all `WHERE` search clauses can be based on this type.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.