Constructor and Description |
---|
NewTableConfiguration() |
Modifier and Type | Method and Description |
---|---|
NewTableConfiguration |
enableSampling(SamplerConfiguration samplerConfiguration)
Enable building a sample data set on the new table using the given sampler configuration.
|
Map<String,String> |
getProperties()
Retrieves the complete set of currently configured table properties to be applied to a table when this configuration object is used.
|
TimeType |
getTimeType()
Retrieve the time type currently configured.
|
NewTableConfiguration |
setProperties(Map<String,String> prop)
Sets additional properties to be applied to tables created with this configuration.
|
NewTableConfiguration |
setTimeType(TimeType tt)
Configure logical or millisecond time for tables created with this configuration.
|
NewTableConfiguration |
withoutDefaultIterators()
Currently the only default iterator is the
VersioningIterator . |
public NewTableConfiguration setTimeType(TimeType tt)
tt
- the time type to use; defaults to millisecondspublic TimeType getTimeType()
public NewTableConfiguration withoutDefaultIterators()
VersioningIterator
. This method will cause the table to be created without that iterator, or any others
which may become defaults in the future.public NewTableConfiguration setProperties(Map<String,String> prop)
prop
- additional properties to add to the table when it is createdpublic Map<String,String> getProperties()
public NewTableConfiguration enableSampling(SamplerConfiguration samplerConfiguration)
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.