public class HadoopParquetConfiguration extends Object implements ParquetConfiguration
| Constructor and Description |
|---|
HadoopParquetConfiguration() |
HadoopParquetConfiguration(boolean loadDefaults) |
HadoopParquetConfiguration(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String name) |
String |
get(String name,
String defaultValue) |
boolean |
getBoolean(String name,
boolean defaultValue) |
Class<?> |
getClass(String name,
Class<?> defaultValue) |
<U> Class<? extends U> |
getClass(String name,
Class<? extends U> defaultValue,
Class<U> xface) |
Class<?> |
getClassByName(String name) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
int |
getInt(String name,
int defaultValue) |
long |
getLong(String name,
long defaultValue) |
String[] |
getStrings(String name,
String[] defaultValue) |
String |
getTrimmed(String name) |
String |
getTrimmed(String name,
String defaultValue) |
Iterator<Map.Entry<String,String>> |
iterator() |
void |
set(String name,
String value) |
void |
setBoolean(String name,
boolean value) |
void |
setClass(String name,
Class<?> value,
Class<?> xface) |
void |
setInt(String name,
int value) |
void |
setLong(String name,
long value) |
void |
setStrings(String name,
String... values) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic HadoopParquetConfiguration()
public HadoopParquetConfiguration(boolean loadDefaults)
public HadoopParquetConfiguration(org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.conf.Configuration getConfiguration()
public void set(String name, String value)
set in interface ParquetConfigurationpublic void setLong(String name, long value)
setLong in interface ParquetConfigurationpublic void setInt(String name, int value)
setInt in interface ParquetConfigurationpublic void setBoolean(String name, boolean value)
setBoolean in interface ParquetConfigurationpublic void setStrings(String name, String... values)
setStrings in interface ParquetConfigurationpublic void setClass(String name, Class<?> value, Class<?> xface)
setClass in interface ParquetConfigurationpublic String get(String name)
get in interface ParquetConfigurationpublic String get(String name, String defaultValue)
get in interface ParquetConfigurationpublic long getLong(String name, long defaultValue)
getLong in interface ParquetConfigurationpublic int getInt(String name, int defaultValue)
getInt in interface ParquetConfigurationpublic boolean getBoolean(String name, boolean defaultValue)
getBoolean in interface ParquetConfigurationpublic String getTrimmed(String name)
getTrimmed in interface ParquetConfigurationpublic String getTrimmed(String name, String defaultValue)
getTrimmed in interface ParquetConfigurationpublic String[] getStrings(String name, String[] defaultValue)
getStrings in interface ParquetConfigurationpublic Class<?> getClass(String name, Class<?> defaultValue)
getClass in interface ParquetConfigurationpublic <U> Class<? extends U> getClass(String name, Class<? extends U> defaultValue, Class<U> xface)
getClass in interface ParquetConfigurationpublic Class<?> getClassByName(String name) throws ClassNotFoundException
getClassByName in interface ParquetConfigurationClassNotFoundExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.