public class ColumnSizeCommand extends BaseCommand
console| Constructor and Description |
|---|
ColumnSizeCommand(org.slf4j.Logger console) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Float> |
getColumnRatio(Map<String,Long> colSizes) |
Map<String,Long> |
getColumnSizeInBytes(org.apache.hadoop.fs.Path inputFile) |
List<String> |
getExamples()
Returns a list of example uses.
|
int |
run()
Runs this
Command. |
create, createWithChecksum, createWithNoOverwrite, defaultFS, getAvroSchema, getConf, loaderFor, loaderForJars, loaderForPaths, open, openDataFile, openSeekable, output, qualifiedPath, qualifiedURI, setConfpublic int run()
throws IOException
CommandCommand.IOException - if there is an error while running the commandpublic List<String> getExamples()
Commandpublic Map<String,Long> getColumnSizeInBytes(org.apache.hadoop.fs.Path inputFile) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.