public class OrcFormatConfiguration extends Object
Constructor and Description |
---|
OrcFormatConfiguration() |
Modifier and Type | Method and Description |
---|---|
OrcFormatConfiguration |
clear()
Clears all properties.
|
org.apache.hadoop.hive.ql.io.orc.CompressionKind |
getCompressionKind()
Returns the ORCFile compression kind.
|
DataModelMapping.FieldMappingStrategy |
getFieldMappingStrategy()
Returns the field mapping strategy.
|
org.apache.hadoop.hive.ql.io.orc.OrcFile.Version |
getFormatVersion()
Returns the ORCFile format version.
|
DataModelMapping.ExceptionHandlingStrategy |
getOnIncompatibleType()
Returns the exception handling strategy for incompatible field type.
|
DataModelMapping.ExceptionHandlingStrategy |
getOnMissingSource()
Returns the exception handling strategy for missing source fields.
|
DataModelMapping.ExceptionHandlingStrategy |
getOnMissingTarget()
Returns the exception handling strategy for missing target fields.
|
Long |
getStripeSize()
Returns the ORCFile stripe size (in bytes).
|
String |
toString() |
OrcFormatConfiguration |
withCompressionKind(org.apache.hadoop.hive.ql.io.orc.CompressionKind value)
Sets the ORCFile compression kind.
|
OrcFormatConfiguration |
withFieldMappingStrategy(DataModelMapping.FieldMappingStrategy value)
Sets the field mapping strategy.
|
OrcFormatConfiguration |
withFormatVersion(org.apache.hadoop.hive.ql.io.orc.OrcFile.Version value)
Sets the ORCFile format version.
|
OrcFormatConfiguration |
withOnIncompatibleType(DataModelMapping.ExceptionHandlingStrategy value)
Sets the exception handling strategy for incompatible field type.
|
OrcFormatConfiguration |
withOnMissingSource(DataModelMapping.ExceptionHandlingStrategy value)
Sets the exception handling strategy for missing source fields.
|
OrcFormatConfiguration |
withOnMissingTarget(DataModelMapping.ExceptionHandlingStrategy value)
Sets the exception handling strategy for missing target fields.
|
OrcFormatConfiguration |
withStripeSize(Long value)
Sets the ORCFile stripe size (in bytes).
|
public OrcFormatConfiguration clear()
public OrcFormatConfiguration withFieldMappingStrategy(DataModelMapping.FieldMappingStrategy value)
value
- the strategypublic OrcFormatConfiguration withOnMissingSource(DataModelMapping.ExceptionHandlingStrategy value)
value
- the strategypublic OrcFormatConfiguration withOnMissingTarget(DataModelMapping.ExceptionHandlingStrategy value)
value
- the strategypublic OrcFormatConfiguration withOnIncompatibleType(DataModelMapping.ExceptionHandlingStrategy value)
value
- the strategypublic OrcFormatConfiguration withFormatVersion(org.apache.hadoop.hive.ql.io.orc.OrcFile.Version value)
value
- the versionpublic OrcFormatConfiguration withCompressionKind(org.apache.hadoop.hive.ql.io.orc.CompressionKind value)
value
- the compression kindpublic OrcFormatConfiguration withStripeSize(Long value)
value
- the stripe sizepublic DataModelMapping.FieldMappingStrategy getFieldMappingStrategy()
public DataModelMapping.ExceptionHandlingStrategy getOnMissingSource()
public DataModelMapping.ExceptionHandlingStrategy getOnMissingTarget()
public DataModelMapping.ExceptionHandlingStrategy getOnIncompatibleType()
public org.apache.hadoop.hive.ql.io.orc.OrcFile.Version getFormatVersion()
null
if use system default valuepublic org.apache.hadoop.hive.ql.io.orc.CompressionKind getCompressionKind()
null
if use system default valuepublic Long getStripeSize()
null
if use system default valueCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.