public class UnionTemplatePacket extends QueryTemplatePacket
_aggregationSet, _allIndexValuesQuery, _dummyNullIndexScanner, _preparedForSpace
_extendedMatchCodes, _rangeValues, _rangeValuesInclusion
_implClassName
_returnOnlyUIDs, _typeName
_entryType, _entryTypeCode, _typeDesc, _typeDescChecksum
Constructor and Description |
---|
UnionTemplatePacket() |
UnionTemplatePacket(QueryTableData table,
QueryResultTypeInternal queryResultType) |
Modifier and Type | Method and Description |
---|---|
void |
add(QueryTemplatePacket packet) |
QueryTemplatePacket |
and(QueryTemplatePacket template)
Merge given templates into one template.
|
QueryTemplatePacket |
and(UnionTemplatePacket template)
Merge given templates into one template.
|
QueryTemplatePacket |
buildAndPacket(QueryTemplatePacket packet) |
QueryTemplatePacket |
buildOrPacket(QueryTemplatePacket packet) |
List<QueryTemplatePacket> |
getPackets() |
boolean |
isComplex()
Method to indicate whether this query is complex - false only if the template can be
translated to a space query without post processing some space operations don't support
complex queries
|
protected boolean |
matches(IEntryPacket entryPacket) |
boolean |
matches(JoinedEntry joinedEntry) |
void |
prepareForSpace(ITypeDesc typeDesc)
Convert the ranges to a single space template
|
void |
setPackets(List<QueryTemplatePacket> packets) |
QueryTemplatePacket |
union(QueryTemplatePacket packet) |
QueryTemplatePacket |
union(UnionTemplatePacket composite) |
enabledSmartExternalizableWithReference, getAggregationSet, getExplainPlan, getMultipleUids, getProjectionTemplate, getQueryResultType, getRanges, getRoutingFieldValue, intersectRanges, intersectUids, isAllIndexValuesSqlQuery, isAlwaysEmpty, isTransient, prepareForUnion, read, read, readExternal, readFromSwap, readMultiple, setAggregationSet, setAlwaysEmpty, setEntryType, setExplainPlan, setExtendedMatchCode, setMultipleUids, setProjectionTemplate, setQueryResultType, setRangeValue, setRangeValueInclusion, setRouting, take, writeExternal, writeToSwap
clone, getExtendedMatchCodes, getRangeValues, getRangeValuesInclusion, isIdQuery, isIdsQuery, isTemplateQuery, supportExtendedMatching, validate
getExternalEntryImplClassName, getPacketType, toObject
getCustomQuery, getDynamicProperties, getFieldValue, getFieldValues, getMultipleUIDs, getTTL, getTypeName, getUID, getVersion, hasFixedPropertiesArray, isFifo, isNoWriteLease, isReturnOnlyUids, setCustomQuery, setDynamicProperties, setFieldsValues, setFieldValue, setMultipleUIDs, setReturnOnlyUIDs, setTTL, setUID, setVersion
equals, getCodebase, getEntryType, getID, getIdImpl, getOperationID, getPreviousVersion, getPropertyValue, getTypeDescChecksum, getTypeDescriptor, 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, isReturnOnlyUids, setDynamicProperties, setReturnOnlyUIDs
allNullFieldValues, getID, getPreviousVersion, getTTL, hasFixedPropertiesArray, hasPreviousVersion, isExternalizableEntryPacket, isHybrid, setCustomQuery, setPreviousVersion, setTTL, setUID
getCodebase, getCustomQuery, getDynamicProperties, getEntryType, getExternalEntryImplClassName, getFieldValue, getFieldValues, getMultipleUIDs, getOperationID, getPacketType, getPropertyValue, getTypeDescChecksum, getTypeDescriptor, getTypeName, getUID, getVersion, isFifo, isNoWriteLease, isSerializeTypeDesc, setFieldsValues, setFieldValue, setMultipleUIDs, setOperationID, setPropertyValue, setSerializeTypeDesc, setTypeDesc, setVersion, supportsTypeDescChecksum, toObject, toObject, toObject, toObject
readExternal, writeExternal
public UnionTemplatePacket()
public UnionTemplatePacket(QueryTableData table, QueryResultTypeInternal queryResultType)
table
- public List<QueryTemplatePacket> getPackets()
public void setPackets(List<QueryTemplatePacket> packets)
packets
- the packets to setpublic void add(QueryTemplatePacket packet)
public QueryTemplatePacket buildOrPacket(QueryTemplatePacket packet)
buildOrPacket
in class QueryTemplatePacket
public QueryTemplatePacket union(QueryTemplatePacket packet)
union
in class QueryTemplatePacket
public QueryTemplatePacket union(UnionTemplatePacket composite)
union
in class QueryTemplatePacket
public boolean isComplex()
QueryTemplatePacket
isComplex
in class QueryTemplatePacket
public QueryTemplatePacket buildAndPacket(QueryTemplatePacket packet)
buildAndPacket
in class QueryTemplatePacket
public QueryTemplatePacket and(QueryTemplatePacket template)
and
in class QueryTemplatePacket
public QueryTemplatePacket and(UnionTemplatePacket template)
and
in class QueryTemplatePacket
public void prepareForSpace(ITypeDesc typeDesc)
QueryTemplatePacket
prepareForSpace
in class QueryTemplatePacket
protected boolean matches(IEntryPacket entryPacket)
matches
in class QueryTemplatePacket
public boolean matches(JoinedEntry joinedEntry)
matches
in class QueryTemplatePacket
Copyright © GigaSpaces.