| Modifier and Type | Method and Description |
|---|---|
static RowKeyReader |
create(RowSignature signature)
Creates a new
RowKeyReader. |
static int |
fieldEndPosition(byte[] keyBytes,
int fieldNumber) |
boolean |
hasMultipleValues(RowKey key,
int fieldNumber)
Determine if a particular field of a particular key has multiple values.
|
List<Object> |
read(RowKey key)
Read all values out of a key, as a list of objects.
|
Object |
read(RowKey key,
int fieldNumber)
Read a value out of a key.
|
RowKey |
trim(RowKey key,
int trimmedFieldCount)
Trim a key to a particular fieldCount.
|
RowKeyReader |
trimmedKeyReader(int trimmedFieldCount)
Trims the key reader to a particular fieldCount.
|
public static RowKeyReader create(RowSignature signature)
RowKeyReader.public Object read(RowKey key, int fieldNumber)
public List<Object> read(RowKey key)
public boolean hasMultipleValues(RowKey key, int fieldNumber)
read(RowKey, int).public RowKeyReader trimmedKeyReader(int trimmedFieldCount)
trim(RowKey, int).public RowKey trim(RowKey key, int trimmedFieldCount)
public static int fieldEndPosition(byte[] keyBytes,
int fieldNumber)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.