public final class IntegerPrimaryKeyPosition extends PrimaryKeyPosition<Long> implements IngestPosition<IntegerPrimaryKeyPosition>
| Constructor and Description |
|---|
IntegerPrimaryKeyPosition(long beginValue,
long endValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IntegerPrimaryKeyPosition position) |
protected Long |
convert(String value) |
Long |
getBeginValue()
Get begin value.
|
Long |
getEndValue()
Get end value.
|
protected char |
getType() |
toStringpublic IntegerPrimaryKeyPosition(long beginValue,
long endValue)
public Long getBeginValue()
PrimaryKeyPositiongetBeginValue in class PrimaryKeyPosition<Long>public Long getEndValue()
PrimaryKeyPositiongetEndValue in class PrimaryKeyPosition<Long>protected Long convert(String value)
convert in class PrimaryKeyPosition<Long>protected char getType()
getType in class PrimaryKeyPosition<Long>public int compareTo(IntegerPrimaryKeyPosition position)
compareTo in interface Comparable<IntegerPrimaryKeyPosition>Copyright © 2023 The Apache Software Foundation. All rights reserved.