Interface ImportConfiguration
-
- All Known Implementing Classes:
ImportConfigurationImpl
public interface ImportConfiguration
A configuration object that can be used withTableOperations.importTable(String, Set, ImportConfiguration)
- Since:
- 2.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ImportConfiguration.Builder
A ImportConfiguration builder
-
Field Summary
Fields Modifier and Type Field Description static ImportConfiguration
EMPTY
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ImportConfiguration.Builder
builder()
static ImportConfiguration
empty()
boolean
isKeepMappings()
SeeImportConfiguration.Builder.setKeepMappings(boolean)
for full description.boolean
isKeepOffline()
-
-
-
Field Detail
-
EMPTY
static final ImportConfiguration EMPTY
-
-
Method Detail
-
isKeepOffline
boolean isKeepOffline()
- Returns:
- true if the new table is to be kept offline, false the table will be brought online.
-
isKeepMappings
boolean isKeepMappings()
SeeImportConfiguration.Builder.setKeepMappings(boolean)
for full description.- Returns:
- true if the
Constants.IMPORT_MAPPINGS_FILE
is to be kept after importing.
-
builder
static ImportConfiguration.Builder builder()
- Returns:
- a
ImportConfiguration
builder
-
empty
static ImportConfiguration empty()
- Returns:
- an empty configuration object with the default settings.
- Since:
- 2.1.0
-
-