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 protected
CoreRangeScanItem(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 long
cas()
boolean
equals(Object o)
Instant
expiry()
int
flags()
int
hashCode()
String
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()
String
toString()
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()
-
-