if ( inCtx.readBoolean() ) {
int sinkId = inCtx.readInt();
int factHandleId = inCtx.readInt();
RightTupleSink sink =(RightTupleSink) inCtx.sinks.get( sinkId );
RightTupleKey key = new RightTupleKey( factHandleId,
sink );
slCtx.expiringTuple = inCtx.rightTuples.get( key );
}
if ( inCtx.readBoolean() ) {
int size = inCtx.readInt();
for ( int i = 0; i < size; i++ ) {
int sinkId = inCtx.readInt();
int factHandleId = inCtx.readInt();
RightTupleSink sink =(RightTupleSink) inCtx.sinks.get( sinkId );
RightTupleKey key = new RightTupleKey( factHandleId,
sink );
slCtx.queue.add( inCtx.rightTuples.get( key ) );
}
}