com.hazelcast.map.impl.operation
Class QueryOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.spi.AbstractOperation
          extended by com.hazelcast.spi.impl.AbstractNamedOperation
              extended by com.hazelcast.map.impl.operation.AbstractMapOperation
                  extended by com.hazelcast.map.impl.operation.QueryOperation
All Implemented Interfaces:
DataSerializable, RemotePropagatable<Operation>

public class QueryOperation
extends AbstractMapOperation


Field Summary
 
Fields inherited from class com.hazelcast.map.impl.operation.AbstractMapOperation
mapContainer, mapService
 
Fields inherited from class com.hazelcast.spi.impl.AbstractNamedOperation
name
 
Constructor Summary
QueryOperation()
           
QueryOperation(String mapName, Predicate predicate)
           
 
Method Summary
 Object getResponse()
           
 ExceptionAction onException(Throwable throwable)
           
protected  void readInternal(ObjectDataInput in)
           
 void run()
           
protected  void runParallel(Collection<Integer> initialPartitions)
           
protected  void runParallelForPaging(Collection<Integer> initialPartitions)
           
protected  void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.map.impl.operation.AbstractMapOperation
afterRun, beforeRun, innerBeforeRun, returnsResponse
 
Methods inherited from class com.hazelcast.spi.impl.AbstractNamedOperation
getName
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryOperation

public QueryOperation(String mapName,
                      Predicate predicate)

QueryOperation

public QueryOperation()
Method Detail

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.