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