public class UidQueryPacket extends AbstractQueryPacket
_entryType, _entryTypeCode, _typeDesc, _typeDescChecksum
Constructor and Description |
---|
UidQueryPacket()
Empty constructor required by Externalizable.
|
UidQueryPacket(ITypeDesc typeDesc,
String[] uids,
int version,
QueryResultTypeInternal resultType,
boolean returnOnlyUids) |
UidQueryPacket(ITypeDesc typeDesc,
String uid,
Object routing,
int version,
QueryResultTypeInternal resultType,
boolean returnOnlyUids,
AbstractProjectionTemplate projectionTemplate) |
UidQueryPacket(String[] uids,
int version,
QueryResultTypeInternal resultType,
boolean returnOnlyUids) |
UidQueryPacket(String uid,
Object routing,
int version,
QueryResultTypeInternal resultType) |
Modifier and Type | Method and Description |
---|---|
String[] |
getMultipleUIDs() |
AbstractProjectionTemplate |
getProjectionTemplate() |
Object |
getRoutingFieldValue() |
String |
getTypeName() |
String |
getUID() |
int |
getVersion() |
boolean |
isIdQuery() |
boolean |
isReturnOnlyUids() |
boolean |
isTransient()
UidQueryPacket can only be used to query the EDS if it is attached to specific type
|
protected void |
readExternal(ObjectInput in,
PlatformLogicalVersion version) |
void |
readFromSwap(ObjectInput in) |
void |
setMultipleUIDs(String[] uids) |
void |
setProjectionTemplate(AbstractProjectionTemplate projectionTemplate) |
void |
setRouting(Object routing) |
void |
setUID(String uid) |
void |
setVersion(int version) |
protected void |
writeExternal(ObjectOutput out,
PlatformLogicalVersion version) |
void |
writeToSwap(ObjectOutput out) |
clone, getCustomQuery, getDynamicProperties, getExtendedMatchCodes, getFieldValue, getFieldValues, getID, getPacketType, getQueryResultType, getRangeValues, getRangeValuesInclusion, getTTL, isAllIndexValuesSqlQuery, isFifo, isIdsQuery, isNoWriteLease, isTemplateQuery, setCustomQuery, setDynamicProperties, setFieldsValues, setFieldValue, setQueryResultType, setReturnOnlyUIDs, setTTL, supportExtendedMatching, toObject, validate
equals, getCodebase, getEntryType, getExternalEntryImplClassName, getIdImpl, getOperationID, getPreviousVersion, getPropertyValue, getTypeDescChecksum, getTypeDescriptor, hasFixedPropertiesArray, hashCode, hasPreviousVersion, isExternalizableEntryPacket, isSerializeTypeDesc, readExternalImpl, setOperationID, setPreviousVersion, setPropertyValue, setSerializeTypeDesc, setTypeDesc, supportsTypeDescChecksum, toObject, toObject, toObject, toString, toText, validateStorageType, writeExternalImpl
readExternal, writeExternal
finalize, getClass, notify, notifyAll, wait, wait, wait
getTemplateRoutingValue, isBroadcast
allNullFieldValues, getPreviousVersion, hasFixedPropertiesArray, hasPreviousVersion, isExternalizableEntryPacket, isHybrid, setPreviousVersion
getCodebase, getEntryType, getExternalEntryImplClassName, getOperationID, getPropertyValue, getTypeDescChecksum, getTypeDescriptor, isSerializeTypeDesc, setOperationID, setPropertyValue, setSerializeTypeDesc, setTypeDesc, supportsTypeDescChecksum, toObject, toObject, toObject
enabledSmartExternalizableWithReference
readExternal, writeExternal
public UidQueryPacket()
public UidQueryPacket(ITypeDesc typeDesc, String uid, Object routing, int version, QueryResultTypeInternal resultType, boolean returnOnlyUids, AbstractProjectionTemplate projectionTemplate)
public UidQueryPacket(String uid, Object routing, int version, QueryResultTypeInternal resultType)
public UidQueryPacket(ITypeDesc typeDesc, String[] uids, int version, QueryResultTypeInternal resultType, boolean returnOnlyUids)
public UidQueryPacket(String[] uids, int version, QueryResultTypeInternal resultType, boolean returnOnlyUids)
public String getUID()
getUID
in interface ITransportPacket
getUID
in class AbstractQueryPacket
public void setUID(String uid)
setUID
in interface IEntryPacket
setUID
in class AbstractQueryPacket
public String[] getMultipleUIDs()
getMultipleUIDs
in interface ITransportPacket
getMultipleUIDs
in class AbstractQueryPacket
public void setMultipleUIDs(String[] uids)
setMultipleUIDs
in interface ITransportPacket
setMultipleUIDs
in class AbstractQueryPacket
public boolean isReturnOnlyUids()
isReturnOnlyUids
in interface ITemplatePacket
isReturnOnlyUids
in class AbstractQueryPacket
public String getTypeName()
getTypeName
in interface ITransportPacket
getTypeName
in class AbstractQueryPacket
public boolean isTransient()
isTransient
in interface ITransportPacket
isTransient
in class AbstractQueryPacket
public int getVersion()
getVersion
in interface ITransportPacket
getVersion
in class AbstractQueryPacket
public void setVersion(int version)
setVersion
in interface ITransportPacket
setVersion
in class AbstractQueryPacket
public Object getRoutingFieldValue()
getRoutingFieldValue
in interface ITransportPacket
getRoutingFieldValue
in class AbstractEntryPacket
public void setRouting(Object routing)
public boolean isIdQuery()
isIdQuery
in interface ITemplatePacket
isIdQuery
in class AbstractQueryPacket
protected void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException
readExternal
in class AbstractQueryPacket
IOException
ClassNotFoundException
protected void writeExternal(ObjectOutput out, PlatformLogicalVersion version) throws IOException
writeExternal
in class AbstractQueryPacket
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class AbstractQueryPacket
IOException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class AbstractQueryPacket
IOException
ClassNotFoundException
public void setProjectionTemplate(AbstractProjectionTemplate projectionTemplate)
setProjectionTemplate
in interface ITemplatePacket
setProjectionTemplate
in class AbstractQueryPacket
public AbstractProjectionTemplate getProjectionTemplate()
getProjectionTemplate
in interface ITemplatePacket
getProjectionTemplate
in class AbstractQueryPacket
Copyright © GigaSpaces.