|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.beans.infomining.CMBSchema
A schema defines the set of meta data that can be stored for a document.
Field Summary | |
static int |
DB_STRING_TYPE_CLOB
The database type CLOB; to be used for a String value. |
static int |
DB_STRING_TYPE_VARCHAR
The database type VARCHAR; to be used for a String value. |
Method Summary | |
int |
getDBStringSize(java.lang.String key)
Returns the size that is available in the database to store a string for the specified key. |
int |
getDBStringType(java.lang.String key)
Returns the type that is used in the database to store a string for the specified key. |
java.lang.Class |
getType(java.lang.String key)
Returns the type associated with the specified key. |
boolean |
isStringSearchable(java.lang.String key)
Returns true if the values stored for the key are text searchable. |
java.util.Set |
keySet()
Returns a set view of the keys contained in this schema. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DB_STRING_TYPE_VARCHAR
getDBStringType(String)
public static final int DB_STRING_TYPE_CLOB
getDBStringType(String)
Method Detail |
public java.util.Set keySet()
public java.lang.Class getType(java.lang.String key) throws CMBNoSuchKeyException
key
- key whose associated type is to be returnedCMBNoSuchKeyException
- if the specified key does not exist in this schemapublic int getDBStringType(java.lang.String key) throws CMBNoSuchKeyException, CMBInvalidTypeException
String
.key
- key whose associated database string type is to be returnedCMBNoSuchKeyException
- if the specified key does not exist in this schemaCMBInvalidTypeException
- if the specified key is not associated with type String
public int getDBStringSize(java.lang.String key) throws CMBNoSuchKeyException, CMBInvalidTypeException
String
.key
- key whose associated database string size is to be returnedCMBNoSuchKeyException
- if the specified key does not exist in this schemaCMBInvalidTypeException
- if the specified key is not associated with type String
getDBStringType(String)
public boolean isStringSearchable(java.lang.String key) throws CMBNoSuchKeyException, CMBInvalidTypeException
true
if the values stored for the key are text searchable.
The type associated with the key has to be String
.key
- key whose associated searchable-value is to be returnedtrue
if the values stored for the key are text searchable; false
otherwiseCMBNoSuchKeyException
- if the specified key does not exist in this schemaCMBInvalidTypeException
- if the specified key is not associated with type String
|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |