|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.bop.fed.ThickChunkMessage<E>
public class ThickChunkMessage<E>
A thick version of this interface in which the chunk is sent inline with the RMI message.
Note: The encoding is IV specific and supports the IVCache
associations. However, it CAN NOT be used with non-IV data. This is
fine in the deployed system but it makes the class properly dependent on the
RDF layer.
| Constructor Summary | |
|---|---|
ThickChunkMessage()
De-serialization constructor. |
|
ThickChunkMessage(IQueryClient queryController,
UUID queryId,
int bopId,
int partitionId,
IBindingSet[] source)
|
|
| Method Summary | |
|---|---|
int |
getBOpId()
Return the operator identifier. |
int |
getBytesAvailable()
|
IChunkAccessor<E> |
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 |
readExternal(ObjectInput in)
|
void |
release()
Release all resources associated with this chunk. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThickChunkMessage()
public ThickChunkMessage(IQueryClient queryController,
UUID queryId,
int bopId,
int partitionId,
IBindingSet[] source)
| Method Detail |
|---|
public IQueryClient getQueryController()
IChunkMessage
getQueryController in interface IChunkMessage<E>public UUID getQueryControllerId()
IChunkMessageIQueryClient to which the
query was submitted).
getQueryControllerId in interface IChunkMessage<E>https://sourceforge.net/apps/trac/bigdata/ticket/475public UUID getQueryId()
IOpMessage
getQueryId in interface IOpMessagepublic int getBOpId()
IOpMessage
getBOpId in interface IOpMessagepublic int getPartitionId()
IOpMessage
getPartitionId 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<E>PipelineOp.Annotations#LAST_PASSpublic boolean isMaterialized()
IChunkMessagetrue if the chunk is materialized on the receiver.
isMaterialized in interface IChunkMessage<E>public int getSolutionCount()
IChunkMessage
getSolutionCount in interface IChunkMessage<E>public int getBytesAvailable()
public String toString()
toString in class Objectpublic void materialize(FederatedRunningQuery runningQuery)
IChunkMessage
materialize in interface IChunkMessage<E>runningQuery - The running query.public void release()
IChunkMessage
release in interface IChunkMessage<E>public IChunkAccessor<E> getChunkAccessor()
IChunkMessage
getChunkAccessor in interface IChunkMessage<E>
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||