Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
String | toJavaClassName () |
THdfsFileFormat | toThrift () |
String | toSql (HdfsCompression compressionType) |
boolean | isFileCompressionTypeSupported (String fileName, StringBuilder errorMsg) |
boolean | isSplittable (HdfsCompression compression) |
Static Public Member Functions | |
static boolean | isHdfsFormatClass (String formatClass) |
static HdfsFileFormat | fromHdfsInputFormatClass (String inputFormatClass) |
static HdfsFileFormat | fromJavaClassName (String className) |
static HdfsFileFormat | fromThrift (THdfsFileFormat thriftFormat) |
Public Attributes | |
RC_FILE | |
TEXT | |
SEQUENCE_FILE | |
AVRO | |
Static Public Attributes | |
staticfinal String | LZO_TEXT_INPUT_FORMAT |
staticfinal String | LZO_TEXT_OUTPUT_FORMAT |
Static Private Attributes | |
staticfinal String | RCFILE_INPUT_FORMAT |
staticfinal String | TEXT_INPUT_FORMAT |
staticfinal String | SEQUENCE_INPUT_FORMAT |
staticfinal String[] | PARQUET_INPUT_FORMATS |
staticfinal String | AVRO_INPUT_FORMAT |
staticfinal Map< String, HdfsFileFormat > | VALID_FORMATS |
Supported HDFS file formats
Definition at line 26 of file HdfsFileFormat.java.
|
inlinestatic |
Returns the file format associated with the input format class, or null if the input format class is not supported.
Definition at line 91 of file HdfsFileFormat.java.
|
inlinestatic |
Returns the corresponding enum for a SerDe class name. If classname is not one of our supported formats, throws an IllegalArgumentException like Enum.valueOf
Definition at line 100 of file HdfsFileFormat.java.
Referenced by com.cloudera.impala.catalog.HdfsStorageDescriptor.fromStorageDescriptor(), and com.cloudera.impala.catalog.HdfsTable.load().
|
inlinestatic |
Definition at line 116 of file HdfsFileFormat.java.
References com.cloudera.impala.catalog.HdfsFileFormat.AVRO, com.cloudera.impala.catalog.HdfsFileFormat.PARQUET, com.cloudera.impala.catalog.HdfsFileFormat.RC_FILE, com.cloudera.impala.catalog.HdfsFileFormat.SEQUENCE_FILE, and com.cloudera.impala.catalog.HdfsFileFormat.TEXT.
Referenced by com.cloudera.impala.analysis.ToSqlUtils.getCreateTableSql().
|
inline |
Definition at line 175 of file HdfsFileFormat.java.
Referenced by com.cloudera.impala.analysis.LoadDataStmt.analyzePaths().
|
inlinestatic |
Returns true if the string describes an input format class that we support.
Definition at line 83 of file HdfsFileFormat.java.
Referenced by com.cloudera.impala.catalog.Table.fromMetastoreTable().
|
inline |
Returns true if this file format with the given compression format is splittable.
Definition at line 207 of file HdfsFileFormat.java.
References com.cloudera.impala.catalog.HdfsCompression.NONE.
Referenced by com.cloudera.impala.catalog.HdfsTable.synthesizeBlockMetadata().
|
inline |
Definition at line 108 of file HdfsFileFormat.java.
|
inline |
Definition at line 142 of file HdfsFileFormat.java.
References com.cloudera.impala.catalog.HdfsCompression.LZO, and com.cloudera.impala.catalog.HdfsCompression.LZO_INDEX.
|
inline |
Definition at line 129 of file HdfsFileFormat.java.
com.cloudera.impala.catalog.HdfsFileFormat.AVRO |
Definition at line 30 of file HdfsFileFormat.java.
Referenced by com.cloudera.impala.catalog.HdfsFileFormat.fromThrift(), and com.cloudera.impala.catalog.HdfsTable.load().
|
staticprivate |
Definition at line 65 of file HdfsFileFormat.java.
|
static |
Definition at line 42 of file HdfsFileFormat.java.
Referenced by com.cloudera.impala.catalog.HdfsCompression.fromHdfsInputFormatClass().
|
static |
Definition at line 46 of file HdfsFileFormat.java.
|
staticprivate |
Definition at line 57 of file HdfsFileFormat.java.
com.cloudera.impala.catalog.HdfsFileFormat.RC_FILE |
Definition at line 27 of file HdfsFileFormat.java.
Referenced by com.cloudera.impala.catalog.HdfsFileFormat.fromThrift().
|
staticprivate |
Definition at line 34 of file HdfsFileFormat.java.
com.cloudera.impala.catalog.HdfsFileFormat.SEQUENCE_FILE |
Definition at line 29 of file HdfsFileFormat.java.
Referenced by com.cloudera.impala.catalog.HdfsFileFormat.fromThrift().
|
staticprivate |
Definition at line 50 of file HdfsFileFormat.java.
com.cloudera.impala.catalog.HdfsFileFormat.TEXT |
Definition at line 28 of file HdfsFileFormat.java.
Referenced by com.cloudera.impala.catalog.HdfsFileFormat.fromThrift().
|
staticprivate |
Definition at line 38 of file HdfsFileFormat.java.
|
staticprivate |
Definition at line 68 of file HdfsFileFormat.java.