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
ModifierConstructorDescriptionprotected
CoreRangeScanItem
(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value) -
Method Summary
Modifier and TypeMethodDescriptionlong
cas()
boolean
expiry()
int
flags()
int
hashCode()
key()
static CoreRangeScanItem
keyAndBody
(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value) byte[]
keyBytes()
static CoreRangeScanItem
keyOnly
(byte[] key) long
seqno()
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
-