Modifier and Type | Method and Description |
---|---|
<N> Index.Builder<N> |
Index.clone(Class<N> clazz)
Clone this index, use the builder methods to customize the clone.
|
<T> Index.Builder<T> |
Index.Factory.create(Class<T> clazz) |
Index.Builder<T> |
Index.Builder.withConvertMarker(ConvertMarker convertMarker) |
Index.Builder<T> |
Index.Builder.withConvertValue(ConvertValue convertValue) |
Index.Builder<T> |
Index.Builder.withCredProvider(CredProvider credProvider) |
Index.Builder<T> |
Index.Builder.withEndpoint(URI endpoint)
URI format:
DynamoDB (always connects over SSL):
ddb://<region|endpoint>/
MySQL (always connects over SSL):
mysql://<host>:<port>/
|
Index.Builder<T> |
Index.Builder.withHashKeyName(String name) |
Index.Builder<T> |
Index.Builder.withIndexName(String tableName,
String indexName) |
Index.Builder<T> |
Index.Builder.withInfiniteRetry()
Enable infinite retries, this is only useful if running in
some sort of batch mode.
|
Index.Builder<T> |
Index.Builder.withKeyProvider(KeyProvider keyProvider) |
Index.Builder<T> |
Index.Builder.withNoEncrypt(String... attrNames) |
Index.Builder<T> |
Index.Builder.withOtherKeyNames(String... names)
Only applicable to secondary indexes.
|
Index.Builder<T> |
Index.Builder.withProxy(URI proxyEndpoint) |
Index.Builder<T> |
Index.Builder.withRangeKeyName(String name) |
default Index.Builder<T> |
Index.Builder.withTableDescription(TableDescription tableDescription) |
Index.Builder<T> |
Index.Builder.withTableDescription(TableDescription tableDescription,
String indexName)
Source the following fields from the TableDescription:
- hashKeyName
- rangeKeyName
- otherKeyNames
- convertMarker
- tableName / indexName
- noEncrypt all hashKey/rangeKeys in all IndexDescriptions.
|
Index.Builder<T> |
Index.Builder.withTableName(String tableName) |
Index.Builder<T> |
Index.Builder.withTableNameFormat(String tableNameFormatStr) |
Copyright © 2018. All rights reserved.