public class RewriteOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RewriteOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf()
Gets the
Configuration part of the rewrite options. |
List<String> |
getEncryptColumns() |
FileEncryptionProperties |
getFileEncryptionProperties() |
IndexCache.CacheStrategy |
getIndexCacheStrategy() |
List<org.apache.hadoop.fs.Path> |
getInputFiles()
Gets the input
Paths for the rewrite if they exist for all input files,
otherwise throws a RuntimeException. |
Map<String,MaskMode> |
getMaskColumns() |
CompressionCodecName |
getNewCodecName() |
org.apache.hadoop.fs.Path |
getOutputFile()
Get the
Path for the rewrite if it exists, otherwise throws a RuntimeException. |
ParquetConfiguration |
getParquetConfiguration()
Gets the
ParquetConfiguration part of the rewrite options. |
List<InputFile> |
getParquetInputFiles()
Gets the
InputFiles for the rewrite. |
OutputFile |
getParquetOutputFile()
Get the
OutputFile for the rewrite. |
List<String> |
getPruneColumns() |
public org.apache.hadoop.conf.Configuration getConf()
Configuration part of the rewrite options.Configurationpublic ParquetConfiguration getParquetConfiguration()
ParquetConfiguration part of the rewrite options.ParquetConfigurationpublic List<org.apache.hadoop.fs.Path> getInputFiles()
Paths for the rewrite if they exist for all input files,
otherwise throws a RuntimeException.List of the associated input Pathspublic List<InputFile> getParquetInputFiles()
InputFiles for the rewrite.public org.apache.hadoop.fs.Path getOutputFile()
Path for the rewrite if it exists, otherwise throws a RuntimeException.Path if it existspublic OutputFile getParquetOutputFile()
OutputFile for the rewrite.OutputFilepublic CompressionCodecName getNewCodecName()
public FileEncryptionProperties getFileEncryptionProperties()
public IndexCache.CacheStrategy getIndexCacheStrategy()
Copyright © 2023 The Apache Software Foundation. All rights reserved.