public abstract class AbstractEntryType extends Object implements IGSEntry
Constructor and Description |
---|
AbstractEntryType(ITypeDesc typeDesc)
Constructs an abstract entry with is class-type meta-data.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Entry class Name.
|
String |
getCodebase()
Entry-class codebase.
|
int |
getFieldPosition(String fieldName)
Return the the field position in the
FieldsValues array. |
String[] |
getFieldsNames()
Entry fields names.
|
String[] |
getFieldsTypes()
Entry Fields Types.
|
String |
getFieldType(String fieldName)
Retries the given field its type class name.
|
boolean[] |
getIndexIndicators()
Indexed fields array indication.
|
Object |
getObject(IJSpace space)
Converts to object.
|
String |
getPrimaryKeyName()
The field name representing the primary key.
|
PropertyInfo[] |
getProperties() |
String |
getRoutingFieldName() |
String[] |
getSuperClassesNames()
Entry Super Classes Names.
|
boolean |
hasDummyTTE() |
boolean |
isFifo()
If true operations will be done using FIFO ordering when multiple match found.
|
boolean |
isIndexedField(String fieldName)
Checks if the given field is indexed.
|
boolean |
isReplicatable()
Check if replicatable, applicable only when used with partial replication.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFieldsValues, getFieldValue, getFieldValue, getMapEntry, getTimeToLive, getUID, getVersion, isTransient, setFieldValue, setFieldValue
protected final ITypeDesc _typeDesc
public AbstractEntryType(ITypeDesc typeDesc)
typeDesc
- the entry class-type.public boolean hasDummyTTE()
public String getClassName()
getClassName
in interface IGSEntry
public PropertyInfo[] getProperties()
public String[] getFieldsNames()
IGSEntry
getFieldsNames
in interface IGSEntry
public boolean[] getIndexIndicators()
IGSEntry
getIndexIndicators
in interface IGSEntry
public String[] getFieldsTypes()
IGSEntry
getFieldsTypes
in interface IGSEntry
public String getCodebase()
getCodebase
in interface IGSEntry
public String[] getSuperClassesNames()
getSuperClassesNames
in interface IGSEntry
public String getRoutingFieldName()
getRoutingFieldName
in interface IGSEntry
public String getPrimaryKeyName()
getPrimaryKeyName
in interface IGSEntry
public boolean isFifo()
public String getFieldType(String fieldName)
IGSEntry
getFieldType
in interface IGSEntry
fieldName
- the field name.public boolean isIndexedField(String fieldName)
IGSEntry
isIndexedField
in interface IGSEntry
fieldName
- the field name.true
if the the field is indexed.public boolean isReplicatable()
isReplicatable
in interface IGSEntry
true
if this entry is replicatable.IReplicatable
public int getFieldPosition(String fieldName)
IGSEntry
FieldsValues
array.getFieldPosition
in interface IGSEntry
fieldName
- name of the field (e.g. Field.getName()
.IGSEntry.getFieldsValues()
.public Object getObject(IJSpace space) throws UnusableEntryException
IGSEntry.setFieldValue(int, Object)
or IGSEntry.setFieldValue(String, Object)
.getObject
in interface IGSEntry
space
- Space proxy.UnusableEntryException
- One or more fields in the entry cannot be deserialized, or the
class for the entry type itself cannot be deserialized.Copyright © GigaSpaces.