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