public abstract class AbstractIdsQueryPacket extends AbstractQueryPacket
Modifier and Type | Field and Description |
---|---|
protected String |
_className |
protected Object[] |
_ids |
protected int |
_version |
_entryType, _entryTypeCode, _typeDesc, _typeDescChecksum
Constructor and Description |
---|
AbstractIdsQueryPacket()
Default constructor required by Externalizable.
|
AbstractIdsQueryPacket(Object[] ids,
int version,
ITypeDesc typeDesc,
QueryResultTypeInternal resultType,
AbstractProjectionTemplate projectionTemplate) |
Modifier and Type | Method and Description |
---|---|
Object |
getID() |
Object[] |
getIds() |
AbstractProjectionTemplate |
getProjectionTemplate() |
abstract Object |
getRouting(int objectIndex) |
String |
getTypeName() |
int |
getVersion() |
boolean |
isIdsQuery() |
protected void |
readExternal(ObjectInput in,
PlatformLogicalVersion version) |
void |
readFromSwap(ObjectInput in) |
void |
setClassName(String className) |
void |
setIds(Object[] ids) |
void |
setProjectionTemplate(AbstractProjectionTemplate projectionTemplate) |
void |
setVersion(int version) |
protected void |
writeExternal(ObjectOutput out,
PlatformLogicalVersion version) |
void |
writeToSwap(ObjectOutput out) |
clone, getCustomQuery, getDynamicProperties, getExtendedMatchCodes, getFieldValue, getFieldValues, getIdentifierFieldIndex, getMultipleUIDs, getPacketType, getQueryResultType, getRangeValues, getRangeValuesInclusion, getTTL, getUID, isAllIndexValuesSqlQuery, isFifo, isIdQuery, isNoWriteLease, isReturnOnlyUids, isTemplateQuery, isTransient, setCustomQuery, setDynamicProperties, setFieldsValues, setFieldValue, setMultipleUIDs, setQueryResultType, setReturnOnlyUIDs, setTTL, setUID, supportExtendedMatching, toObject, validate
equals, getCodebase, getEntryType, getExternalEntryImplClassName, getOperationID, getPreviousVersion, getPropertyValue, getRoutingFieldValue, 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, getRoutingFieldValue, getTypeDescChecksum, getTypeDescriptor, isSerializeTypeDesc, setOperationID, setPropertyValue, setSerializeTypeDesc, setTypeDesc, supportsTypeDescChecksum, toObject, toObject, toObject
enabledSmartExternalizableWithReference
readExternal, writeExternal
protected String _className
protected Object[] _ids
protected int _version
public AbstractIdsQueryPacket()
public AbstractIdsQueryPacket(Object[] ids, int version, ITypeDesc typeDesc, QueryResultTypeInternal resultType, AbstractProjectionTemplate projectionTemplate)
public abstract Object getRouting(int objectIndex)
public String getTypeName()
getTypeName
in interface ITransportPacket
getTypeName
in class AbstractQueryPacket
public void setClassName(String className)
public Object[] getIds()
public void setIds(Object[] ids)
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 getID()
getID
in interface IEntryPacket
getID
in class AbstractQueryPacket
public AbstractProjectionTemplate getProjectionTemplate()
getProjectionTemplate
in interface ITemplatePacket
getProjectionTemplate
in class AbstractQueryPacket
public void setProjectionTemplate(AbstractProjectionTemplate projectionTemplate)
setProjectionTemplate
in interface ITemplatePacket
setProjectionTemplate
in class AbstractQueryPacket
protected void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException
readExternal
in class AbstractQueryPacket
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class AbstractQueryPacket
IOException
ClassNotFoundException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class AbstractQueryPacket
IOException
protected void writeExternal(ObjectOutput out, PlatformLogicalVersion version) throws IOException
writeExternal
in class AbstractQueryPacket
IOException
public boolean isIdsQuery()
isIdsQuery
in interface ITemplatePacket
isIdsQuery
in class AbstractQueryPacket
Copyright © GigaSpaces.