public abstract class QueryableEntry<K,V> extends Object implements Extractable, Map.Entry<K,V>
Modifier and Type | Field and Description |
---|---|
protected Extractors |
extractors |
protected InternalSerializationService |
serializationService |
Constructor and Description |
---|
QueryableEntry() |
Modifier and Type | Method and Description |
---|---|
static AttributeType |
extractAttributeType(Object attributeValue)
Deduces the
AttributeType of the given non-null attribute
value. |
Object |
getAttributeValue(String attributeName) |
abstract K |
getKey() |
abstract Data |
getKeyData() |
Metadata |
getMetadata() |
protected abstract Object |
getTargetObject(boolean key) |
abstract V |
getValue() |
abstract Data |
getValueData() |
void |
setMetadata(Metadata metadata) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode, setValue
protected InternalSerializationService serializationService
protected Extractors extractors
public Metadata getMetadata()
public void setMetadata(Metadata metadata)
public Object getAttributeValue(String attributeName) throws QueryException
getAttributeValue
in interface Extractable
QueryException
public abstract Data getKeyData()
public abstract Data getValueData()
protected abstract Object getTargetObject(boolean key)
public static AttributeType extractAttributeType(Object attributeValue)
AttributeType
of the given non-null
attribute
value.attributeValue
- the attribute value to deduce the type of.null
if there is no
attribute type corresponding to the type of the value. See AttributeType
for the list of representable attribute types.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.