public static class SimpleQueryRecord.PartialResult extends Object implements QueryRecord.PartialResult, ExternalizableLite, PortableObject
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleQueryRecord.PartialResult.AbstractRecordableStep
Simple abstract RecordableStep implementation.
|
class |
SimpleQueryRecord.PartialResult.ExplainStep
Simple QueryRecord.PartialResult.ExplainStep implementation.
|
static class |
SimpleQueryRecord.PartialResult.IndexLookupRecord
Simple QueryRecord.PartialResult.IndexLookupRecord implementation.
|
static class |
SimpleQueryRecord.PartialResult.Step
Simple QueryRecord.PartialResult.Step implementation.
|
class |
SimpleQueryRecord.PartialResult.TraceStep
Simple QueryRecord.PartialResult.TraceStep implementation.
|
QueryRecord.PartialResult.RecordableStep| Modifier and Type | Field and Description |
|---|---|
protected List<SimpleQueryRecord.PartialResult.Step> |
m_listSteps
The map of steps.
|
| Constructor and Description |
|---|
PartialResult()
Default constructor (necessary for the ExternalizableLite interface).
|
PartialResult(PartitionSet partMask)
Construct a PartialResult.
|
PartialResult(QueryContext ctx, PartitionSet partMask)
Construct a PartialResult.
|
PartialResult(QueryRecord.PartialResult result)
Copy constructor for a Result.
|
| Modifier and Type | Method and Description |
|---|---|
PartitionSet |
getPartitions()
Get the set of partitions associated with this partial result.
|
List<? extends QueryRecord.PartialResult.Step> |
getSteps()
Get the list of steps for this query record partial result in the order that they occurred.
|
QueryRecord.PartialResult.ExplainStep |
instantiateExplainStep(Filter filter)
Instantiate a new explain step for the given filter and add it to this result's list of steps.
|
QueryRecord.PartialResult.TraceStep |
instantiateTraceStep(Filter filter)
Instantiate a new trace step for the given filter and add it to this result's list of steps.
|
protected boolean |
isMatching(QueryRecord.PartialResult result)
Determine whether or not the given result is capable of being placed in one-to-one correspondence with this result.
|
protected void |
merge(QueryRecord.PartialResult result)
Merge the given result with this one.
|
void |
readExternal(DataInput in)
Restore the contents of this object by loading the object's state from the passed DataInput object.
|
void |
readExternal(PofReader in)
Restore the contents of a user type instance by reading its state using the specified PofReader object.
|
void |
writeExternal(DataOutput out)
Save the contents of this object by storing the object's state into the passed DataOutput object.
|
void |
writeExternal(PofWriter out)
Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
|
protected List<SimpleQueryRecord.PartialResult.Step> m_listSteps
public PartialResult()
public PartialResult(PartitionSet partMask)
partMask - the partitions to be included in creating this partial resultpublic PartialResult(QueryContext ctx, PartitionSet partMask)
ctx - the query contextpartMask - the partitions to be included in creating this partial resultpublic PartialResult(QueryRecord.PartialResult result)
result - the result to copypublic List<? extends QueryRecord.PartialResult.Step> getSteps()
getSteps in interface QueryRecord.PartialResultpublic PartitionSet getPartitions()
getPartitions in interface QueryRecord.PartialResultpublic QueryRecord.PartialResult.ExplainStep instantiateExplainStep(Filter filter)
filter - the filterpublic QueryRecord.PartialResult.TraceStep instantiateTraceStep(Filter filter)
filter - the filterprotected void merge(QueryRecord.PartialResult result)
result - the result to mergeprotected boolean isMatching(QueryRecord.PartialResult result)
result - the result to be checkedpublic void readExternal(DataInput in) throws IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore the state of this objectIOException - if an I/O exception occursNotActiveException - if the object is not in its initial state, and therefore cannot be deserialized intopublic void writeExternal(DataOutput out) throws IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object toIOException - if an I/O exception occurspublic void readExternal(PofReader in) throws IOException
readExternal in interface PortableObjectin - the PofReader from which to read the object's stateIOException - if an I/O error occurspublic void writeExternal(PofWriter out) throws IOException
writeExternal in interface PortableObjectout - the PofWriter to which to write the object's stateIOException - if an I/O error occurs