Class AbstractQueryPacket
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.internal.transport.AbstractEntryPacket
com.gigaspaces.internal.transport.AbstractQueryPacket
- All Implemented Interfaces:
RawEntry,ISwapExternalizable,IEntryPacket,ITemplatePacket,ITransportPacket,Textualizable,SmartExternalizable,Externalizable,Serializable,Cloneable
- Direct Known Subclasses:
AbstractIdsQueryPacket,EmptyQueryPacket,IdQueryPacket,SQLQueryTemplatePacket,UidQueryPacket
- See Also:
-
Field Summary
Fields inherited from class com.gigaspaces.internal.transport.AbstractEntryPacket
_entryType, _entryTypeCode, _typeDesc, _typeDescChecksum -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractQueryPacket(ITypeDesc typeDesc, QueryResultTypeInternal resultType) -
Method Summary
Modifier and TypeMethodDescriptionclone()short[]short[]getFieldValue(int index) Object[]getID()String[]Object[]boolean[]longgetTTL()getUID()intbooleanbooleanisFifo()booleanbooleanbooleanbooleanbooleanbooleanprotected voidreadExternal(ObjectInput in, PlatformLogicalVersion version) voidvoidsetCustomQuery(ICustomQuery customQuery) voidsetDynamicProperties(Map<String, Object> dynamicProperties) voidsetFieldsValues(Object[] values) voidsetFieldValue(int index, Object value) voidsetMultipleUIDs(String[] uids) voidsetProjectionTemplate(AbstractProjectionTemplate projectionTemplate) voidsetQueryResultType(QueryResultTypeInternal queryResultType) voidsetReturnOnlyUIDs(boolean returnOnlyUIDs) voidsetTTL(long ttl) voidvoidsetVersion(int version) booleantoObject(EntryType entryType, StorageTypeDeserialization storageTypeDeserialization) voidvalidate()protected voidwriteExternal(ObjectOutput out, PlatformLogicalVersion version) voidwriteToSwap(ObjectOutput out) Methods inherited from class com.gigaspaces.internal.transport.AbstractEntryPacket
equals, getCodebase, getEntryType, getExternalEntryImplClassName, getIdImpl, getOperationID, getPreviousVersion, getPropertyValue, getRoutingFieldValue, getTypeDescChecksum, getTypeDescriptor, hasFixedPropertiesArray, hashCode, hasPreviousVersion, isExternalizableEntryPacket, isSerializeTypeDesc, readExternalImpl, setOperationID, setPreviousVersion, setPropertyValue, setSerializeTypeDesc, setTypeDesc, supportsTypeDescChecksum, toObject, toObject, toObject, toString, toText, validateStorageType, writeExternalImplMethods inherited from class com.gigaspaces.internal.serialization.AbstractExternalizable
readExternal, writeExternalMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.internal.transport.IEntryPacket
allNullFieldValues, getPreviousVersion, hasFixedPropertiesArray, hasPreviousVersion, isExternalizableEntryPacket, isHybrid, setPreviousVersionMethods inherited from interface com.gigaspaces.internal.transport.ITemplatePacket
getTemplateRoutingValue, isBroadcastMethods inherited from interface com.gigaspaces.internal.transport.ITransportPacket
getCodebase, getEntryType, getExternalEntryImplClassName, getOperationID, getPropertyValue, getRoutingFieldValue, getTypeDescChecksum, getTypeDescriptor, isSerializeTypeDesc, setOperationID, setPropertyValue, setSerializeTypeDesc, setTypeDesc, supportsTypeDescChecksum, toObject, toObject, toObjectMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AbstractQueryPacket
protected AbstractQueryPacket() -
AbstractQueryPacket
-
-
Method Details
-
getPacketType
- Specified by:
getPacketTypein interfaceITransportPacket
-
getDynamicProperties
- Specified by:
getDynamicPropertiesin interfaceITransportPacket
-
setDynamicProperties
- Specified by:
setDynamicPropertiesin interfaceITemplatePacket- Specified by:
setDynamicPropertiesin interfaceITransportPacket
-
getQueryResultType
- Specified by:
getQueryResultTypein interfaceITemplatePacket
-
setQueryResultType
-
supportExtendedMatching
public boolean supportExtendedMatching()- Specified by:
supportExtendedMatchingin interfaceITemplatePacket
-
getExtendedMatchCodes
public short[] getExtendedMatchCodes()- Specified by:
getExtendedMatchCodesin interfaceITemplatePacket
-
getExtendedMatchCodeColumns
public short[] getExtendedMatchCodeColumns()- Specified by:
getExtendedMatchCodeColumnsin interfaceITemplatePacket
-
getRangeValues
- Specified by:
getRangeValuesin interfaceITemplatePacket
-
getRangeValuesInclusion
public boolean[] getRangeValuesInclusion()- Specified by:
getRangeValuesInclusionin interfaceITemplatePacket
-
getTypeName
- Specified by:
getTypeNamein interfaceITransportPacket
-
getMultipleUIDs
- Specified by:
getMultipleUIDsin interfaceITransportPacket
-
setMultipleUIDs
- Specified by:
setMultipleUIDsin interfaceITransportPacket
-
getFieldValues
- Specified by:
getFieldValuesin interfaceITransportPacket
-
setFieldsValues
- Specified by:
setFieldsValuesin interfaceITransportPacket
-
getFieldValue
- Specified by:
getFieldValuein interfaceITransportPacket
-
setFieldValue
- Specified by:
setFieldValuein interfaceITransportPacket
-
getID
- Specified by:
getIDin interfaceIEntryPacket- Overrides:
getIDin classAbstractEntryPacket
-
isFifo
public boolean isFifo()- Specified by:
isFifoin interfaceITransportPacket
-
isNoWriteLease
public boolean isNoWriteLease()- Specified by:
isNoWriteLeasein interfaceITransportPacket
-
isReturnOnlyUids
public boolean isReturnOnlyUids()- Specified by:
isReturnOnlyUidsin interfaceITemplatePacket
-
setReturnOnlyUIDs
public void setReturnOnlyUIDs(boolean returnOnlyUIDs) - Specified by:
setReturnOnlyUIDsin interfaceITemplatePacket
-
isTransient
public boolean isTransient()- Specified by:
isTransientin interfaceITransportPacket
-
getTTL
public long getTTL()- Specified by:
getTTLin interfaceIEntryPacket
-
setTTL
public void setTTL(long ttl) - Specified by:
setTTLin interfaceIEntryPacket
-
getUID
- Specified by:
getUIDin interfaceITransportPacket
-
setUID
- Specified by:
setUIDin interfaceIEntryPacket
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceITransportPacket
-
setVersion
public void setVersion(int version) - Specified by:
setVersionin interfaceITransportPacket
-
getCustomQuery
- Specified by:
getCustomQueryin interfaceITransportPacket
-
setCustomQuery
- Specified by:
setCustomQueryin interfaceIEntryPacket
-
getProjectionTemplate
- Specified by:
getProjectionTemplatein interfaceITemplatePacket
-
setProjectionTemplate
- Specified by:
setProjectionTemplatein interfaceITemplatePacket
-
clone
- Specified by:
clonein interfaceIEntryPacket- Specified by:
clonein interfaceITemplatePacket- Overrides:
clonein classAbstractEntryPacket
-
toObject
- Specified by:
toObjectin interfaceITransportPacket- Overrides:
toObjectin classAbstractEntryPacket
-
writeToSwap
- Specified by:
writeToSwapin interfaceISwapExternalizable- Overrides:
writeToSwapin classAbstractEntryPacket- Throws:
IOException
-
readFromSwap
- Specified by:
readFromSwapin interfaceISwapExternalizable- Overrides:
readFromSwapin classAbstractEntryPacket- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Overrides:
writeExternalin classAbstractEntryPacket- Throws:
IOException
-
readExternal
protected void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException - Overrides:
readExternalin classAbstractEntryPacket- Throws:
IOExceptionClassNotFoundException
-
validate
public void validate()- Specified by:
validatein interfaceITemplatePacket
-
isIdQuery
public boolean isIdQuery()- Specified by:
isIdQueryin interfaceITemplatePacket
-
isIdsQuery
public boolean isIdsQuery()- Specified by:
isIdsQueryin interfaceITemplatePacket
-
isTemplateQuery
public boolean isTemplateQuery()- Specified by:
isTemplateQueryin interfaceITemplatePacket
-
isAllIndexValuesSqlQuery
public boolean isAllIndexValuesSqlQuery()- Specified by:
isAllIndexValuesSqlQueryin interfaceITemplatePacket
-