Interface UserTableOptions.Builder<T>
- Type Parameters:
T- the extending builder type
- All Known Subinterfaces:
PartitionedUserTableOptions.Builder,UnpartitionedUserTableOptions.Builder
- Enclosing interface:
- UserTableOptions
public static interface UserTableOptions.Builder<T>
Generic builder for constructing the base set of options.
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDataIndex(@NotNull Iterable<? extends String[]> dataIndexes) Optionally adds aDataIndexto the User Table schema.addDataIndex(@NotNull String[] dataIndex) Optionally adds aDataIndexto the User Table schema.addDataIndex(@NotNull String[]... dataIndexes) Optionally setsDataIndexto the User Table schema.Set the namespace for the User Table.tableDefinition(@NotNull TableDefinition definition) Set theTableDefinitionfor the User Table.Set the tableName for the User Table.
-
Method Details
-
namespace
Set the namespace for the User Table.- Parameters:
namespace- the namespace.- Returns:
- this
UserTableOptions.Builder
-
tableName
Set the tableName for the User Table.- Parameters:
tableName- the table name.- Returns:
- this
UserTableOptions.Builder
-
tableDefinition
Set theTableDefinitionfor the User Table.- Parameters:
definition- theTableDefinition- Returns:
- this
UserTableOptions.Builder
-
addDataIndex
Optionally adds aDataIndexto the User Table schema.- Parameters:
dataIndex- the requestedDataIndex- Returns:
- this
UserTableOptions.Builder
-
addDataIndex
Optionally setsDataIndexto the User Table schema.- Parameters:
dataIndexes- the requestedDataIndexes- Returns:
- this
UserTableOptions.Builder
-
addAllDataIndex
Optionally adds aDataIndexto the User Table schema.- Parameters:
dataIndexes- the requestedDataIndexes- Returns:
- this
UserTableOptions.Builder
-