public static interface KeyBuilder.RowStep extends KeyBuilder.Build
Key
.Modifier and Type | Method and Description |
---|---|
KeyBuilder.ColumnFamilyStep |
row(byte[] row)
Set the row of the
Key that this builder will build to the parameter. |
KeyBuilder.ColumnFamilyStep |
row(byte[] row,
int offset,
int length)
Set the row of the
Key that this builder will build to the parameter. |
KeyBuilder.ColumnFamilyStep |
row(CharSequence row)
Set the row of the
Key that this builder will build to the parameter. |
KeyBuilder.ColumnFamilyStep |
row(org.apache.hadoop.io.Text row)
Set the row of the
Key that this builder will build to the parameter. |
build, deleted, timestamp
KeyBuilder.ColumnFamilyStep row(org.apache.hadoop.io.Text row)
Key
that this builder will build to the parameter.row
- the row to use for the keyKeyBuilder.ColumnFamilyStep row(byte[] row)
Key
that this builder will build to the parameter.row
- the row to use for the keyKeyBuilder.ColumnFamilyStep row(byte[] row, int offset, int length)
Key
that this builder will build to the parameter.row
- the row to use for the keyoffset
- the offset within the array of the first byte to be read; must be non-negative and
no larger than row.lengthlength
- the number of bytes to be read from the given array; must be non-negative and no
larger than row.length - offsetKeyBuilder.ColumnFamilyStep row(CharSequence row)
Key
that this builder will build to the parameter.row
- the row to use for the key. The encoding must be UTF-8Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.