public class TemplateEntryData extends Object implements IEntryData
Constructor and Description |
---|
TemplateEntryData() |
TemplateEntryData(ITypeDesc typeDesc,
ITransportPacket packet,
long expirationTime,
boolean fromReplication) |
Modifier and Type | Method and Description |
---|---|
List<IQueryIndexScanner> |
getCustomIndexes() |
ICustomQuery |
getCustomQuery() |
Map<String,Object> |
getDynamicProperties() |
EntryDataType |
getEntryDataType() |
EntryTypeDesc |
getEntryTypeDesc() |
long |
getExpirationTime()
Gets the entry expiration time.
|
short[] |
getExtendedMatchCodes() |
Object[] |
getFixedPropertiesValues() |
Object |
getFixedPropertyValue(int index)
Gets the specified fixed property's value.
|
int |
getNumOfFixedProperties() |
Object |
getPathValue(String path)
Gets the specified path's value.
|
Object |
getPropertyValue(String name)
Gets the specified property's value.
|
boolean |
getRangeInclusion(int index) |
Object |
getRangeValue(int index) |
SpaceTypeDescriptor |
getSpaceTypeDescriptor()
Gets the entry's type descriptor.
|
long |
getTimeToLive(boolean useDummyIfRelevant) |
int |
getVersion()
Gets the entry version.
|
boolean |
isAssignableFrom(IServerTypeDesc serverTypeDesc) |
boolean |
isExpired() |
boolean |
isExpired(long limit) |
boolean |
isIdQuery() |
boolean |
match(CacheManager cacheManager,
ServerEntry entry,
int skipAlreadyMatchedFixedPropertyIndex,
String skipAlreadyMatchedIndexPath,
RegexCache regexCache) |
void |
setCustomQuery(ICustomQuery customQuery) |
void |
setDynamicProperties(Map<String,Object> dynamicProperties) |
void |
setDynamicPropertyValue(String propertyName,
Object value) |
void |
setExpirationTime(long expirationTime) |
void |
setFixedPropertyValue(int index,
Object value) |
void |
setFixedPropertyValues(Object[] values) |
void |
setVersion(int version) |
SQLQuery<?> |
toSQLQuery(ITypeDesc typeDesc) |
void |
unsetDynamicPropertyValue(String propertyName) |
void |
updateData(IEntryData entryData) |
public TemplateEntryData(ITypeDesc typeDesc, ITransportPacket packet, long expirationTime, boolean fromReplication)
public TemplateEntryData()
public boolean isExpired()
public boolean isExpired(long limit)
public EntryDataType getEntryDataType()
getEntryDataType
in interface IEntryData
public Map<String,Object> getDynamicProperties()
getDynamicProperties
in interface IEntryData
public void setDynamicPropertyValue(String propertyName, Object value)
setDynamicPropertyValue
in interface IEntryData
public void unsetDynamicPropertyValue(String propertyName)
unsetDynamicPropertyValue
in interface IEntryData
public int getVersion()
ServerEntry
getVersion
in interface ServerEntry
public void setVersion(int version)
public long getExpirationTime()
ServerEntry
getExpirationTime
in interface ServerEntry
public void setExpirationTime(long expirationTime)
public long getTimeToLive(boolean useDummyIfRelevant)
getTimeToLive
in interface IEntryData
public int getNumOfFixedProperties()
getNumOfFixedProperties
in interface IEntryData
public Object getFixedPropertyValue(int index)
ServerEntry
getFixedPropertyValue
in interface ServerEntry
index
- Position of requested property.public void setFixedPropertyValue(int index, Object value)
setFixedPropertyValue
in interface IEntryData
public void setFixedPropertyValues(Object[] values)
setFixedPropertyValues
in interface IEntryData
public Object[] getFixedPropertiesValues()
getFixedPropertiesValues
in interface IEntryData
public void updateData(IEntryData entryData)
public Object getPropertyValue(String name)
ServerEntry
getPropertyValue
in interface ServerEntry
name
- Name of requested property.public Object getPathValue(String path)
ServerEntry
getPathValue
in interface ServerEntry
path
- Path pointing to the requested property.public EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc
in interface IEntryData
public SpaceTypeDescriptor getSpaceTypeDescriptor()
ServerEntry
getSpaceTypeDescriptor
in interface ServerEntry
public void setDynamicProperties(Map<String,Object> dynamicProperties)
setDynamicProperties
in interface IEntryData
public ICustomQuery getCustomQuery()
public void setCustomQuery(ICustomQuery customQuery)
public List<IQueryIndexScanner> getCustomIndexes()
public Object getRangeValue(int index)
public boolean getRangeInclusion(int index)
public boolean match(CacheManager cacheManager, ServerEntry entry, int skipAlreadyMatchedFixedPropertyIndex, String skipAlreadyMatchedIndexPath, RegexCache regexCache)
public short[] getExtendedMatchCodes()
public boolean isAssignableFrom(IServerTypeDesc serverTypeDesc)
public boolean isIdQuery()
Copyright © GigaSpaces.