public class LocalNativeChunkMessage extends Object implements IChunkMessage<IBindingSet>
BOp in a specific query.
Note: This class is only used in query evaluation for the standalone database.
Vector query engine on native heap.,
Serialized Form| Constructor and Description |
|---|
LocalNativeChunkMessage(IQueryClient queryController,
UUID queryId,
int bopId,
int partitionId,
IQueryContext queryContext,
IBindingSet[] bsets) |
LocalNativeChunkMessage(IQueryClient queryController,
UUID queryId,
int bopId,
int partitionId,
IQueryContext queryContext,
IBindingSet[][] bindingSetChunks) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBOpId()
Return the operator identifier.
|
long |
getByteCount()
Return the byte count of the solutions on the native heap for this chunk
message.
|
IChunkAccessor<IBindingSet> |
getChunkAccessor()
Return an interface which may be used to access the chunk's data.
|
int |
getPartitionId()
Return the index partition identifier.
|
IQueryClient |
getQueryController()
The proxy for the query controller.
|
UUID |
getQueryControllerId()
The UUID of the query controller (the
IQueryClient to which the
query was submitted). |
UUID |
getQueryId()
Return the query identifier.
|
int |
getSolutionCount()
Return the #of solutions which are available from this message.
|
boolean |
isLastInvocation()
Return true iff the
IChunkMessage is for the last evaluation pass
of an operator. |
boolean |
isMaterialized()
Return
true if the chunk is materialized on the receiver. |
void |
materialize(FederatedRunningQuery runningQuery)
Materialize the chunk on the receiver.
|
void |
release()
Release all resources associated with this chunk.
|
String |
toString() |
public LocalNativeChunkMessage(IQueryClient queryController, UUID queryId, int bopId, int partitionId, IQueryContext queryContext, IBindingSet[] bsets)
public LocalNativeChunkMessage(IQueryClient queryController, UUID queryId, int bopId, int partitionId, IQueryContext queryContext, IBindingSet[][] bindingSetChunks)
public IQueryClient getQueryController()
IChunkMessagegetQueryController in interface IChunkMessage<IBindingSet>public UUID getQueryControllerId()
IChunkMessageIQueryClient to which the
query was submitted).getQueryControllerId in interface IChunkMessage<IBindingSet>https://sourceforge.net/apps/trac/bigdata/ticket/475public UUID getQueryId()
IOpMessagegetQueryId in interface IOpMessagepublic int getBOpId()
IOpMessagegetBOpId in interface IOpMessagepublic int getPartitionId()
IOpMessagegetPartitionId in interface IOpMessagepublic boolean isLastInvocation()
IChunkMessageIChunkMessage is for the last evaluation pass
of an operator. The last evaluation pass for an operator must be
requested using an annotation. When it is requested, the operator will be
invoked one more time for each node or shard on which it was run
(depending on the BOpEvaluationContext). When so invoked, the
IChunkMessage will be associated with an empty source and this
flag will be set.isLastInvocation in interface IChunkMessage<IBindingSet>PipelineOp.Annotations#LAST_PASSpublic boolean isMaterialized()
IChunkMessagetrue if the chunk is materialized on the receiver.isMaterialized in interface IChunkMessage<IBindingSet>public int getSolutionCount()
IChunkMessagegetSolutionCount in interface IChunkMessage<IBindingSet>public long getByteCount()
public void materialize(FederatedRunningQuery runningQuery)
IChunkMessagematerialize in interface IChunkMessage<IBindingSet>runningQuery - The running query.public void release()
IChunkMessagerelease in interface IChunkMessage<IBindingSet>public IChunkAccessor<IBindingSet> getChunkAccessor()
IChunkMessagegetChunkAccessor in interface IChunkMessage<IBindingSet>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.