B
- the type of the builder.public abstract static class TableProperties.AbstractBuilder<B extends TableProperties.AbstractBuilder> extends ExploreProperties.AbstractBuilder<B>
Constructor and Description |
---|
AbstractBuilder() |
Modifier and Type | Method and Description |
---|---|
B |
setColumnFamily(byte[] family)
Set the column family for a table.
|
B |
setColumnFamily(String family)
Set the column family for a table.
|
B |
setConflictDetection(ConflictDetection level)
Set the conflict detection level.
|
B |
setReadlessIncrementSupport(boolean enabled)
Configure read-less increment support.
|
B |
setRowFieldName(String name)
Configure which field in the schema is the row key.
|
B |
setSchema(Schema schema)
Set the schema of a table.
|
B |
setTablePermissions(Map<String,String> permissions)
Set the table permissions as a map from user name to a permission string.
|
B |
setTTL(long ttlSeconds)
Set the table TTL, in seconds.
|
setExploreDatabaseName, setExploreTableName
add, add, add, addAll, build, setDescription
public B setConflictDetection(ConflictDetection level)
public B setTTL(long ttlSeconds)
public B setColumnFamily(byte[] family)
public B setReadlessIncrementSupport(boolean enabled)
public B setRowFieldName(String name)
Copyright © 2022 Cask Data, Inc. Licensed under the Apache License, Version 2.0.