public class HivePropertyMetadata
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
COLLECTION_DELIM
SERDE property name for the collection items terminator. 
 | 
static java.lang.String | 
ESCAPE_CHAR
SERDE property name for the terminator escape character. 
 | 
static java.lang.String | 
FIELD_DELIM
SERDE property name for the field terminator. 
 | 
static java.lang.String | 
LINE_DELIM
SERDE property name for the line terminator. 
 | 
static java.lang.String | 
MAPKEY_DELIM
SERDE property name for the map key terminator. 
 | 
static java.lang.String | 
NULL_FORMAT
SERDE property name for the null format string. 
 | 
| Constructor and Description | 
|---|
HivePropertyMetadata()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.util.Collection<java.lang.String> | 
getDelimitedProperties()
Gets all the names of the delimited properties that are backed by SerDe
 properties. 
 | 
static java.lang.String | 
getDelimitedProperty(java.lang.String serDeProp)
Gets the delimited property on HiveStorageProperties that is stored by
 the given SerDe property. 
 | 
static java.util.Collection<java.lang.String> | 
getDelimitedSerDeProperties()
Gets all the names of the SerDe properties that are used to back
 delimited properties in HiveStorageProperties. 
 | 
static java.lang.String | 
getDelimitedSerDeProperty(java.lang.String delimitedProp)
Gets the SerDe property that is used to store the given delimited
 property on HiveStorageProperties. 
 | 
static void | 
refactorValues(java.beans.PropertyChangeEvent colsChange,
              HivePartition[] parts)
Takes a change event for a DBObjectID[] property and refactors the
 change to the given partitions' "values" properties to ensure that they
 still match the columns. 
 | 
public static final java.lang.String COLLECTION_DELIM
public static final java.lang.String FIELD_DELIM
public static final java.lang.String LINE_DELIM
public static final java.lang.String MAPKEY_DELIM
public static final java.lang.String ESCAPE_CHAR
public static final java.lang.String NULL_FORMAT
public static java.util.Collection<java.lang.String> getDelimitedProperties()
public static java.util.Collection<java.lang.String> getDelimitedSerDeProperties()
public static java.lang.String getDelimitedProperty(java.lang.String serDeProp)
serDeProp - the SerDe propertypublic static java.lang.String getDelimitedSerDeProperty(java.lang.String delimitedProp)
delimitedProp - the delimited property that is part of the ROW
 FORMAT DELIMITED syntaxpublic static void refactorValues(java.beans.PropertyChangeEvent colsChange,
                                  HivePartition[] parts)
colsChange - a change event for a DObjectID[] property (assumed to
 be the columns for the partitions)parts - the partitions to refactor