Package com.couchbase.client.core.kv
Class CoreRangeScanItem
- java.lang.Object
-
- com.couchbase.client.core.kv.CoreRangeScanItem
-
- Direct Known Subclasses:
LastCoreRangeScanItem
public class CoreRangeScanItem extends Object
Represents one individual document returned from a kv range scan stream.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCoreRangeScanItem(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longcas()booleanequals(Object o)Instantexpiry()intflags()inthashCode()Stringkey()static CoreRangeScanItemkeyAndBody(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value)byte[]keyBytes()static CoreRangeScanItemkeyOnly(byte[] key)longseqno()StringtoString()byte[]value()
-
-
-
Constructor Detail
-
CoreRangeScanItem
protected CoreRangeScanItem(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value)
-
-
Method Detail
-
keyOnly
public static CoreRangeScanItem keyOnly(byte[] key)
-
keyAndBody
public static CoreRangeScanItem keyAndBody(int flags, Instant expiry, long seqno, long cas, byte[] key, byte[] value)
-
flags
public int flags()
-
expiry
public Instant expiry()
-
seqno
public long seqno()
-
cas
public long cas()
-
key
public String key()
-
keyBytes
public byte[] keyBytes()
-
value
public byte[] value()
-
-