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, RemotePropagatable<Operation>
public class QueryOperation
- extends AbstractMapOperation
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
QueryOperation
public QueryOperation(String mapName,
Predicate predicate)
QueryOperation
public QueryOperation()
run
public void run()
throws Exception
- Specified by:
run
in class Operation
- Throws:
Exception
runParallel
protected void runParallel(Collection<Integer> initialPartitions)
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
runParallelForPaging
protected void runParallelForPaging(Collection<Integer> initialPartitions)
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
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.