public class HaltOpMessage extends Object implements Externalizable, IHaltOpMessage
IQueryClient when an operator is done executing
 for some chunk of inputs.| Constructor and Description | 
|---|
| HaltOpMessage()De-serialization constructor. | 
| HaltOpMessage(UUID queryId,
             int bopId,
             int partitionId,
             UUID serviceId,
             Throwable cause,
             int sinkMessagesOut,
             int altSinkMessagesOut,
             BOpStats taskStats) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getAltSinkMessagesOut()The number of the  IChunkMessages that were output for the
 alternative sink. | 
| int | getBOpId()Return the operator identifier. | 
| Throwable | getCause()The cause and  nullif the operator halted normally. | 
| int | getPartitionId()Return the index partition identifier. | 
| UUID | getQueryId()Return the query identifier. | 
| UUID | getServiceId()Return the identifier of the service on which the operator will/did
 execute. | 
| int | getSinkMessagesOut()The number of the  IChunkMessages that were output for the primary
 sink. | 
| BOpStats | getStats()The statistics for the execution of the bop against the partition on the
 service. | 
| void | readExternal(ObjectInput in) | 
| String | toString() | 
| void | writeExternal(ObjectOutput out) | 
public HaltOpMessage()
public HaltOpMessage(UUID queryId, int bopId, int partitionId, UUID serviceId, Throwable cause, int sinkMessagesOut, int altSinkMessagesOut, BOpStats taskStats)
queryId - The query identifier.bopId - The operator whose execution phase has terminated for a
            specific index partition and input chunk.partitionId - The index partition against which the operator was executed.serviceId - The node which executed the operator.cause - null unless execution halted abnormally.sinkMessagesOut - The number of IChunkMessage which were sent to the
            operator for the default sink.altSinkMessagesOut - The number of IChunkMessage which were sent to the
            operator for the alternative sink.taskStats - The statistics for the execution of that bop on that shard and
            service.public UUID getQueryId()
IOpMessagegetQueryId in interface IOpMessagepublic int getBOpId()
IOpMessagegetBOpId in interface IOpMessagepublic int getPartitionId()
IOpMessagegetPartitionId in interface IOpMessagepublic UUID getServiceId()
IOpLifeCycleMessagegetServiceId in interface IOpLifeCycleMessagepublic Throwable getCause()
IHaltOpMessagenull if the operator halted normally.getCause in interface IHaltOpMessagepublic int getSinkMessagesOut()
IHaltOpMessageIChunkMessages that were output for the primary
 sink. (This information is used for the atomic termination decision.)
 For a given downstream operator this is ONE (1) for scale-up. For scale-out, this is one per index partition over which the intermediate results were mapped.
getSinkMessagesOut in interface IHaltOpMessagepublic int getAltSinkMessagesOut()
IHaltOpMessageIChunkMessages that were output for the
 alternative sink. (This information is used for the atomic termination
 decision.)
 For a given downstream operator this is ONE (1) for scale-up. For scale-out, this is one per index partition over which the intermediate results were mapped. It is zero if there was no alternative sink for the operator.
getAltSinkMessagesOut in interface IHaltOpMessagepublic BOpStats getStats()
IHaltOpMessagegetStats in interface IHaltOpMessagepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.