Class QueryExecutor
- java.lang.Object
-
- org.apache.iotdb.commons.partition.QueryExecutor
-
- All Implemented Interfaces:
ExecutorType
public class QueryExecutor extends java.lang.Object implements ExecutorType
QueryExecutor indicates this query can execute directly without data from StorageEngine
-
-
Constructor Summary
Constructors Constructor Description QueryExecutor(org.apache.iotdb.common.rpc.thrift.TDataNodeLocation dataNodeLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)org.apache.iotdb.common.rpc.thrift.TDataNodeLocationgetDataNodeLocation()inthashCode()booleanisStorageExecutor()Indicate if ExecutorType is StorageExecutor-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.commons.partition.ExecutorType
getRegionReplicaSet
-
-
-
-
Method Detail
-
getDataNodeLocation
public org.apache.iotdb.common.rpc.thrift.TDataNodeLocation getDataNodeLocation()
- Specified by:
getDataNodeLocationin interfaceExecutorType
-
isStorageExecutor
public boolean isStorageExecutor()
Description copied from interface:ExecutorTypeIndicate if ExecutorType is StorageExecutor- Specified by:
isStorageExecutorin interfaceExecutorType
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-