Class Operation
- java.lang.Object
-
- org.apache.iotdb.db.sync.externalpipe.operation.Operation
-
- Direct Known Subclasses:
DeleteOperation,InsertOperation
public abstract class Operation extends java.lang.ObjectOperation represents the data changes of the server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperation.OperationType
-
Constructor Summary
Constructors Constructor Description Operation(Operation.OperationType operationType, java.lang.String storageGroup, long startIndex, long endIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDataCount()longgetEndIndex()Operation.OperationTypegetOperationType()java.lang.StringgetOperationTypeName()longgetStartIndex()java.lang.StringgetStorageGroup()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Operation
public Operation(Operation.OperationType operationType, java.lang.String storageGroup, long startIndex, long endIndex)
-
-
Method Detail
-
getOperationType
public Operation.OperationType getOperationType()
-
getOperationTypeName
public java.lang.String getOperationTypeName()
-
getStartIndex
public long getStartIndex()
-
getEndIndex
public long getEndIndex()
-
getStorageGroup
public java.lang.String getStorageGroup()
-
getDataCount
public long getDataCount()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-