public class OrcFileEmitter extends JavaDataModelDriver
DataFormat
class for ORCFile.Modifier and Type | Field and Description |
---|---|
static String |
CATEGORY
Category name for Hive ORC.
|
static String |
PATTERN_FORMAT
Simple class name pattern for data format.
|
static String |
PATTERN_INPUT_DESCRIPTION
Simple class name pattern for skeleton of input description.
|
static String |
PATTERN_OUTPUT_DESCRIPTION
Simple class name pattern for skeleton of output description.
|
Constructor and Description |
---|
OrcFileEmitter() |
Modifier and Type | Method and Description |
---|---|
void |
generateResources(EmitContext context,
ModelDeclaration model)
Generates any resources (includes source programs) for the model.
|
static QualifiedName |
getClassName(EmitContext context,
ModelDeclaration model)
Returns the generated class name for this.
|
getFields, getInterfaces, getMemberAnnotations, getMemberAnnotations, getMethods, getTypeAnnotations
public static final String CATEGORY
public static final String PATTERN_FORMAT
public static final String PATTERN_INPUT_DESCRIPTION
public static final String PATTERN_OUTPUT_DESCRIPTION
public static QualifiedName getClassName(EmitContext context, ModelDeclaration model)
context
- the current contextmodel
- the target data modelpublic void generateResources(EmitContext context, ModelDeclaration model) throws IOException
JavaDataModelDriver
generateResources
in class JavaDataModelDriver
context
- the attached contextmodel
- target modelIOException
- if failed to generate resourcesCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.