public class FileSetProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FileSetProperties.Builder
A Builder to construct properties for FileSet datasets.
|
Modifier and Type | Field and Description |
---|---|
static String |
BASE_PATH
The base path of the dataset.
|
static String |
DATA_EXTERNAL
Whether the files in the dataset are "external", that is, managed by an external process.
|
static String |
DATA_POSSESS_EXISTING
If true, the file set will use an existing directory as its base path and an existing Explore table,
and it will take possession of them.
|
static String |
DATA_USE_EXISTING
If true, the file set will use an existing directory as its base path and an existing Explore table.
|
static String |
INPUT_FORMAT
The name of the input format class.
|
static String |
INPUT_PROPERTIES_PREFIX
Prefix for additional properties for the input format.
|
static String |
OUTPUT_FORMAT
The name of the output format class.
|
static String |
OUTPUT_PROPERTIES_PREFIX
Prefix for additional properties for the output format.
|
static String |
PROPERTY_ENABLE_EXPLORE_ON_CREATE
Whether this dataset should be enabled for explore.
|
static String |
PROPERTY_EXPLORE_FORMAT
The format to use for the explore table.
|
static String |
PROPERTY_EXPLORE_INPUT_FORMAT
The input format to use for the Hive table.
|
static String |
PROPERTY_EXPLORE_OUTPUT_FORMAT
The output format to use for the Hive table.
|
static String |
PROPERTY_EXPLORE_SCHEMA
The schema to use for the explore table.
|
static String |
PROPERTY_EXPLORE_SERDE
The serde to use for the Hive table.
|
static String |
PROPERTY_EXPLORE_TABLE_PROPERTY_PREFIX
Prefix used to store additional table properties for Hive.
|
static String |
PROPERTY_FILES_GROUP
The group name that the permission are assigned to.
|
static String |
PROPERTY_FILES_PERMISSIONS
The permissions for the dataset.
|
Constructor and Description |
---|
FileSetProperties() |
public static final String BASE_PATH
public static final String DATA_EXTERNAL
public static final String DATA_USE_EXISTING
public static final String DATA_POSSESS_EXISTING
public static final String INPUT_FORMAT
public static final String OUTPUT_FORMAT
public static final String INPUT_PROPERTIES_PREFIX
public static final String OUTPUT_PROPERTIES_PREFIX
public static final String PROPERTY_ENABLE_EXPLORE_ON_CREATE
public static final String PROPERTY_EXPLORE_FORMAT
public static final String PROPERTY_EXPLORE_SCHEMA
public static final String PROPERTY_EXPLORE_SERDE
public static final String PROPERTY_EXPLORE_INPUT_FORMAT
public static final String PROPERTY_EXPLORE_OUTPUT_FORMAT
public static final String PROPERTY_EXPLORE_TABLE_PROPERTY_PREFIX
@Beta public static final String PROPERTY_FILES_PERMISSIONS
@Beta public static final String PROPERTY_FILES_GROUP
public static FileSetProperties.Builder builder()
public static String getBasePath(Map<String,String> properties)
public static String getInputFormat(Map<String,String> properties)
public static boolean isDataExternal(Map<String,String> properties)
public static boolean isUseExisting(Map<String,String> properties)
public static boolean isPossessExisting(Map<String,String> properties)
public static String getOutputFormat(Map<String,String> properties)
public static Map<String,String> getInputProperties(Map<String,String> properties)
public static Map<String,String> getOutputProperties(Map<String,String> properties)
public static boolean isExploreEnabled(Map<String,String> properties)
public static String getExploreFormat(Map<String,String> properties)
public static String getExploreSchema(Map<String,String> properties)
public static Map<String,String> getExploreFormatProperties(Map<String,String> properties)
public static String getSerDe(Map<String,String> properties)
public static String getExploreInputFormat(Map<String,String> properties)
public static String getExploreOutputFormat(Map<String,String> properties)
@Beta public static String getFilePermissions(Map<String,String> properties)
@Beta public static String getFileGroup(Map<String,String> properties)
public static Map<String,String> getTableProperties(Map<String,String> properties)
Copyright © 2021 Cask Data, Inc. Licensed under the Apache License, Version 2.0.