com.hazelcast.map.impl.operation
Class QueryOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.spi.AbstractOperation
com.hazelcast.spi.impl.AbstractNamedOperation
com.hazelcast.map.impl.operation.AbstractMapOperation
com.hazelcast.map.impl.operation.QueryOperation
- All Implemented Interfaces:
- DataSerializable, NamedOperation, ReadonlyOperation
public class QueryOperation
- extends AbstractMapOperation
- implements ReadonlyOperation
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
QueryOperation
public QueryOperation()
QueryOperation
public QueryOperation(String mapName,
Predicate predicate)
run
public void run()
throws Exception
- Specified by:
run
in class Operation
- Throws:
Exception
runSingleThreaded
protected void runSingleThreaded(Collection<Integer> initialPartitions)
onException
public ExceptionAction onException(Throwable throwable)
- Overrides:
onException
in class Operation
getResponse
public Object getResponse()
- Overrides:
getResponse
in class AbstractOperation
writeInternal
protected void writeInternal(ObjectDataOutput out)
throws IOException
- Overrides:
writeInternal
in class AbstractNamedOperation
- Throws:
IOException
readInternal
protected void readInternal(ObjectDataInput in)
throws IOException
- Overrides:
readInternal
in class AbstractNamedOperation
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.