Package com.couchbase.client.core.kv
Class CoreRangeScanItem
java.lang.Object
com.couchbase.client.core.kv.CoreRangeScanItem
- Direct Known Subclasses:
LastCoreRangeScanItem
Represents one individual document returned from a kv range scan stream.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCoreRangeScanItem(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value) -
Method Summary
Modifier and TypeMethodDescriptionlongcas()booleanexpiry()intflags()inthashCode()key()static CoreRangeScanItemkeyAndBody(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value) byte[]keyBytes()static CoreRangeScanItemkeyOnly(byte[] key) longseqno()toString()byte[]value()
-
Constructor Details
-
CoreRangeScanItem
protected CoreRangeScanItem(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value)
-
-
Method Details
-
keyOnly
-
keyAndBody
public static CoreRangeScanItem keyAndBody(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value) -
flags
public int flags() -
expiry
-
seqno
public long seqno() -
cas
public long cas() -
key
-
keyBytes
public byte[] keyBytes() -
value
public byte[] value() -
equals
-
hashCode
public int hashCode() -
toString
-