public class PreDefinedKeyFieldConfig extends KeyFieldConfig
charset, sequenceNum, totalFields| Constructor and Description |
|---|
PreDefinedKeyFieldConfig(PredefinedField field,
int seqNum,
int totalFields) |
| Modifier and Type | Method and Description |
|---|---|
org.plasma.sdo.DataFlavor |
getDataFlavor() |
PredefinedField |
getField() |
String |
getKey(commonj.sdo.DataGraph dataGraph)
Returns a key value as string from the given data graph
|
String |
getKey(commonj.sdo.DataObject dataObject)
Returns a key value as string from the given data object
|
byte[] |
getKeyBytes(commonj.sdo.DataGraph dataGraph)
Returns a key value from the given Data Graph
|
byte[] |
getKeyBytes(commonj.sdo.DataObject dataObject)
Returns a key value from the given data object
|
byte[] |
getKeyBytes(EdgeMetaKey metaField) |
byte[] |
getKeyBytes(EntityMetaKey metaField) |
byte[] |
getKeyBytes(org.plasma.sdo.PlasmaProperty property)
Returns a key value from the given type
|
byte[] |
getKeyBytes(org.plasma.sdo.PlasmaType type)
Returns a key value from the given type
|
byte[] |
getKeyBytes(org.plasma.sdo.PlasmaType type,
EdgeMetaKey metaField) |
byte[] |
getKeyBytes(org.plasma.sdo.PlasmaType type,
EntityMetaKey metaField) |
byte[] |
getKeyBytes(org.plasma.sdo.PlasmaType type,
org.plasma.sdo.PlasmaProperty property)
Returns a key value from the given type
|
int |
getMaxLength()
Returns the maximum length allowed for this key field.
|
PreDefinedFieldName |
getName() |
boolean |
isHash() |
getSeqNum, getTotalFieldspublic PreDefinedKeyFieldConfig(PredefinedField field, int seqNum, int totalFields)
public PredefinedField getField()
public PreDefinedFieldName getName()
public boolean isHash()
isHash in class KeyFieldConfigpublic String getKey(commonj.sdo.DataGraph dataGraph)
KeyFieldConfiggetKey in class KeyFieldConfigdataGraph - the data graphpublic String getKey(commonj.sdo.DataObject dataObject)
KeyFieldConfiggetKey in class KeyFieldConfigdataObject - the root data objectpublic byte[] getKeyBytes(commonj.sdo.DataGraph dataGraph)
getKeyBytes in class KeyFieldConfigdataGraph - the data graphpublic byte[] getKeyBytes(commonj.sdo.DataObject dataObject)
getKeyBytes in class KeyFieldConfigdataObject - the root data objectpublic byte[] getKeyBytes(org.plasma.sdo.PlasmaType type,
org.plasma.sdo.PlasmaProperty property)
type - the typepublic byte[] getKeyBytes(org.plasma.sdo.PlasmaType type,
EntityMetaKey metaField)
public byte[] getKeyBytes(org.plasma.sdo.PlasmaType type,
EdgeMetaKey metaField)
public byte[] getKeyBytes(org.plasma.sdo.PlasmaType type)
type - the typepublic byte[] getKeyBytes(org.plasma.sdo.PlasmaProperty property)
type - the typepublic byte[] getKeyBytes(EntityMetaKey metaField)
public byte[] getKeyBytes(EdgeMetaKey metaField)
public int getMaxLength()
KeyFieldConfiggetMaxLength in class KeyFieldConfigpublic org.plasma.sdo.DataFlavor getDataFlavor()
getDataFlavor in class KeyFieldConfigCopyright © 2017. All Rights Reserved.