public class OrcFormatConfiguration extends Object
Constructor and Description |
---|
OrcFormatConfiguration() |
Modifier and Type | Method and Description |
---|---|
OrcFormatConfiguration |
clear()
Clears all properties.
|
String |
getCompressionKind()
Returns the ORCFile compression kind.
|
<T extends Enum<T>> |
getCompressionKind(Class<T> type)
Returns the ORCFile compression kind.
|
DataModelMapping.FieldMappingStrategy |
getFieldMappingStrategy()
Returns the field mapping strategy.
|
String |
getFormatVersion()
Returns the ORCFile format version.
|
<T extends Enum<T>> |
getFormatVersion(Class<T> type)
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(String value)
Sets the ORCFile compression kind.
|
OrcFormatConfiguration |
withFieldMappingStrategy(DataModelMapping.FieldMappingStrategy value)
Sets the field mapping strategy.
|
OrcFormatConfiguration |
withFormatVersion(String 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(String value)
value
- the versionpublic OrcFormatConfiguration withCompressionKind(String 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 String getFormatVersion()
null
if use system default valuepublic <T extends Enum<T>> T getFormatVersion(Class<T> type)
T
- the version typetype
- the version typenull
if use system default valuepublic String getCompressionKind()
null
if use system default valuepublic <T extends Enum<T>> T getCompressionKind(Class<T> type)
T
- the compression kind typetype
- the compression kind typenull
if use system default valuepublic Long getStripeSize()
null
if use system default valueCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.