Package org.apache.accumulo.core.data
Interface KeyBuilder.RowStep
-
- All Superinterfaces:
KeyBuilder.Build
- Enclosing class:
- KeyBuilder
public static interface KeyBuilder.RowStep extends KeyBuilder.Build
Builder step used to set the row part of theKey
.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyBuilder.ColumnFamilyStep
row(byte[] row)
Set the row of theKey
that this builder will build to the parameter.KeyBuilder.ColumnFamilyStep
row(byte[] row, int offset, int length)
Set the row of theKey
that this builder will build to the parameter.KeyBuilder.ColumnFamilyStep
row(CharSequence row)
Set the row of theKey
that this builder will build to the parameter.KeyBuilder.ColumnFamilyStep
row(org.apache.hadoop.io.Text row)
Set the row of theKey
that this builder will build to the parameter.-
Methods inherited from interface org.apache.accumulo.core.data.KeyBuilder.Build
build, deleted, timestamp
-
-
-
-
Method Detail
-
row
KeyBuilder.ColumnFamilyStep row(org.apache.hadoop.io.Text row)
Set the row of theKey
that this builder will build to the parameter.- Parameters:
row
- the row to use for the key- Returns:
- this builder
-
row
KeyBuilder.ColumnFamilyStep row(byte[] row)
Set the row of theKey
that this builder will build to the parameter.- Parameters:
row
- the row to use for the key- Returns:
- this builder
-
row
KeyBuilder.ColumnFamilyStep row(byte[] row, int offset, int length)
Set the row of theKey
that this builder will build to the parameter.- Parameters:
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 - offset- Returns:
- this builder
-
row
KeyBuilder.ColumnFamilyStep row(CharSequence row)
Set the row of theKey
that this builder will build to the parameter.- Parameters:
row
- the row to use for the key. The encoding must be UTF-8- Returns:
- this builder
-
-