Class TSDeleteDataReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSDeleteDataReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSDeleteDataReq>,org.apache.thrift.TBase<TSDeleteDataReq,TSDeleteDataReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSDeleteDataReq extends Object implements org.apache.thrift.TBase<TSDeleteDataReq,TSDeleteDataReq._Fields>, Serializable, Cloneable, Comparable<TSDeleteDataReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSDeleteDataReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longendTimestatic Map<TSDeleteDataReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>pathslongsessionIdlongstartTime
-
Constructor Summary
Constructors Constructor Description TSDeleteDataReq()TSDeleteDataReq(long sessionId, List<String> paths, long startTime, long endTime)TSDeleteDataReq(TSDeleteDataReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToPaths(String elem)voidclear()intcompareTo(TSDeleteDataReq other)TSDeleteDataReqdeepCopy()booleanequals(Object that)booleanequals(TSDeleteDataReq that)TSDeleteDataReq._FieldsfieldForId(int fieldId)longgetEndTime()ObjectgetFieldValue(TSDeleteDataReq._Fields field)List<String>getPaths()Iterator<String>getPathsIterator()intgetPathsSize()longgetSessionId()longgetStartTime()inthashCode()booleanisSet(TSDeleteDataReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEndTime()Returns true if field endTime is set (has been assigned a value) and false otherwisebooleanisSetPaths()Returns true if field paths is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisebooleanisSetStartTime()Returns true if field startTime is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TSDeleteDataReqsetEndTime(long endTime)voidsetEndTimeIsSet(boolean value)voidsetFieldValue(TSDeleteDataReq._Fields field, Object value)TSDeleteDataReqsetPaths(List<String> paths)voidsetPathsIsSet(boolean value)TSDeleteDataReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSDeleteDataReqsetStartTime(long startTime)voidsetStartTimeIsSet(boolean value)StringtoString()voidunsetEndTime()voidunsetPaths()voidunsetSessionId()voidunsetStartTime()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
startTime
public long startTime
-
endTime
public long endTime
-
metaDataMap
public static final Map<TSDeleteDataReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSDeleteDataReq
public TSDeleteDataReq()
-
TSDeleteDataReq
public TSDeleteDataReq(long sessionId, List<String> paths, long startTime, long endTime)
-
TSDeleteDataReq
public TSDeleteDataReq(TSDeleteDataReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSDeleteDataReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSDeleteDataReq,TSDeleteDataReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSDeleteDataReq,TSDeleteDataReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSDeleteDataReq setSessionId(long sessionId)
-
unsetSessionId
public void unsetSessionId()
-
isSetSessionId
public boolean isSetSessionId()
Returns true if field sessionId is set (has been assigned a value) and false otherwise
-
setSessionIdIsSet
public void setSessionIdIsSet(boolean value)
-
getPathsSize
public int getPathsSize()
-
addToPaths
public void addToPaths(String elem)
-
setPaths
public TSDeleteDataReq setPaths(List<String> paths)
-
unsetPaths
public void unsetPaths()
-
isSetPaths
public boolean isSetPaths()
Returns true if field paths is set (has been assigned a value) and false otherwise
-
setPathsIsSet
public void setPathsIsSet(boolean value)
-
getStartTime
public long getStartTime()
-
setStartTime
public TSDeleteDataReq setStartTime(long startTime)
-
unsetStartTime
public void unsetStartTime()
-
isSetStartTime
public boolean isSetStartTime()
Returns true if field startTime is set (has been assigned a value) and false otherwise
-
setStartTimeIsSet
public void setStartTimeIsSet(boolean value)
-
getEndTime
public long getEndTime()
-
setEndTime
public TSDeleteDataReq setEndTime(long endTime)
-
unsetEndTime
public void unsetEndTime()
-
isSetEndTime
public boolean isSetEndTime()
Returns true if field endTime is set (has been assigned a value) and false otherwise
-
setEndTimeIsSet
public void setEndTimeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSDeleteDataReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSDeleteDataReq,TSDeleteDataReq._Fields>
-
getFieldValue
public Object getFieldValue(TSDeleteDataReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSDeleteDataReq,TSDeleteDataReq._Fields>
-
isSet
public boolean isSet(TSDeleteDataReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TSDeleteDataReq,TSDeleteDataReq._Fields>
-
equals
public boolean equals(TSDeleteDataReq that)
-
compareTo
public int compareTo(TSDeleteDataReq other)
- Specified by:
compareToin interfaceComparable<TSDeleteDataReq>
-
fieldForId
public TSDeleteDataReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSDeleteDataReq,TSDeleteDataReq._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-