Class Modification
- java.lang.Object
-
- org.apache.iotdb.db.engine.modification.Modification
-
- Direct Known Subclasses:
Deletion
public abstract class Modification extends java.lang.ObjectModification represents an UPDATE or DELETE operation on a certain timeseries.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModification.Type
-
Field Summary
Fields Modifier and Type Field Description protected longfileOffsetprotected org.apache.iotdb.commons.path.PartialPathpathprotected Modification.Typetype
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetDevice()longgetFileOffset()java.lang.StringgetMeasurement()org.apache.iotdb.commons.path.PartialPathgetPath()java.lang.StringgetPathString()Modification.TypegetType()inthashCode()voidsetFileOffset(long fileOffset)voidsetPath(org.apache.iotdb.commons.path.PartialPath path)voidsetType(Modification.Type type)
-
-
-
Field Detail
-
type
protected Modification.Type type
-
path
protected org.apache.iotdb.commons.path.PartialPath path
-
fileOffset
protected long fileOffset
-
-
Method Detail
-
getPathString
public java.lang.String getPathString()
-
getPath
public org.apache.iotdb.commons.path.PartialPath getPath()
-
getDevice
public java.lang.String getDevice()
-
getMeasurement
public java.lang.String getMeasurement()
-
setPath
public void setPath(org.apache.iotdb.commons.path.PartialPath path)
-
getFileOffset
public long getFileOffset()
-
setFileOffset
public void setFileOffset(long fileOffset)
-
getType
public Modification.Type getType()
-
setType
public void setType(Modification.Type type)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-