@TypeInfo(value=TimestampedHiveInputSplit.SplitTypeInfoFactory.class) public class TimestampedHiveInputSplit extends HiveTableInputSplit implements org.apache.flink.streaming.api.functions.source.TimestampedInputSplit
HiveTableInputSplit with TimestampedInputSplit.
Kryo serializer can not deal with hadoop split, need specific type information factory.
Note: this class has a natural ordering that is inconsistent with equals.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TimestampedHiveInputSplit.SplitTypeInfoFactory
TypeInfoFactory for TimestampedHiveInputSplit. |
hiveTablePartition| 构造器和说明 |
|---|
TimestampedHiveInputSplit(long modificationTime,
HiveTableInputSplit split) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(org.apache.flink.streaming.api.functions.source.TimestampedInputSplit o)
Note Again: this class has a natural ordering that is inconsistent with equals.
|
boolean |
equals(Object o) |
long |
getModificationTime() |
Serializable |
getSplitState() |
int |
hashCode() |
void |
setSplitState(Serializable state) |
String |
toString() |
getHiveTablePartitionpublic TimestampedHiveInputSplit(long modificationTime,
HiveTableInputSplit split)
public void setSplitState(Serializable state)
setSplitState 在接口中 org.apache.flink.streaming.api.functions.source.TimestampedInputSplitpublic Serializable getSplitState()
getSplitState 在接口中 org.apache.flink.streaming.api.functions.source.TimestampedInputSplitpublic long getModificationTime()
getModificationTime 在接口中 org.apache.flink.streaming.api.functions.source.TimestampedInputSplitpublic int compareTo(org.apache.flink.streaming.api.functions.source.TimestampedInputSplit o)
compareTo 在接口中 Comparable<org.apache.flink.streaming.api.functions.source.TimestampedInputSplit>public boolean equals(Object o)
equals 在类中 HiveTableInputSplitpublic int hashCode()
hashCode 在类中 HiveTableInputSplitpublic String toString()
toString 在类中 HiveTableInputSplitCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.