org.apache.hadoop.hive.serde2.dynamic_type
Class thrift_grammar

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar
All Implemented Interfaces:
thrift_grammarConstants, thrift_grammarTreeConstants

public class thrift_grammar
extends Object
implements thrift_grammarTreeConstants, thrift_grammarConstants


Field Summary
 Token jj_nt
          Next token.
protected  JJTthrift_grammarState jjtree
           
protected  Map<String,DynamicSerDeSimpleNode> tables
           
 Token token
          Current token.
 thrift_grammarTokenManager token_source
          Generated Token Manager.
protected  Map<String,DynamicSerDeSimpleNode> types
           
 
Fields inherited from interface org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammarTreeConstants
JJTASYNC, JJTCOMMAORSEMICOLON, JJTCONST, JJTCONSTLIST, JJTCONSTLISTCONTENTS, JJTCONSTMAP, JJTCONSTMAPCONTENTS, JJTCONSTVALUE, JJTDEFINITION, JJTDEFINITIONTYPE, JJTENUM, JJTENUMDEF, JJTENUMDEFLIST, JJTEXTENDS, JJTFIELD, JJTFIELDLIST, JJTFIELDREQUIREDNESS, JJTFIELDTYPE, JJTFIELDVALUE, JJTFLAGARGS, JJTFUNCTION, JJTFUNCTIONTYPE, JJTHEADER, JJTHEADERLIST, JJTINCLUDE, JJTNAMESPACE, jjtNodeName, JJTSENUM, JJTSENUMDEF, JJTSENUMDEFLIST, JJTSERVICE, JJTSTART, JJTSTRUCT, JJTTHROWS, JJTTYPEBOOL, JJTTYPEBYTE, JJTTYPEDEF, JJTTYPEDEFINITION, JJTTYPEDOUBLE, JJTTYPEI16, JJTTYPEI32, JJTTYPEI64, JJTTYPELIST, JJTTYPEMAP, JJTTYPESET, JJTTYPESTRING, JJTUNFLAGARGS, JJTXCEPTION
 
Fields inherited from interface org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammarConstants
DEFAULT, DIGIT, EOF, IDENTIFIER, LETTER, tok_async, tok_bool, tok_byte, tok_cocoa_prefix, tok_const, tok_cpp_include, tok_cpp_namespace, tok_cpp_type, tok_csharp_namespace, tok_double, tok_double_constant, tok_enum, tok_exception, tok_extends, tok_i16, tok_i32, tok_i64, tok_include, tok_int_constant, tok_java_package, tok_list, tok_literal, tok_map, tok_namespace, tok_optional, tok_perl_package, tok_php_namespace, tok_py_module, tok_required, tok_ruby_namespace, tok_senum, tok_service, tok_set, tok_skip, tok_slist, tok_smalltalk_category, tok_smalltalk_prefix, tok_st_identifier, tok_string, tok_struct, tok_throws, tok_typedef, tok_void, tok_xsd_all, tok_xsd_attrs, tok_xsd_namespace, tok_xsd_nillable, tok_xsd_optional, tokenImage
 
Constructor Summary
  thrift_grammar(InputStream stream)
          Constructor with InputStream.
protected thrift_grammar(InputStream is, List<String> include_path, boolean junk)
           
  thrift_grammar(InputStream stream, String encoding)
          Constructor with InputStream and supplied encoding
  thrift_grammar(Reader stream)
          Constructor.
  thrift_grammar(thrift_grammarTokenManager tm)
          Constructor with generated Token Manager.
 
Method Summary
 void Async()
           
 void CommaOrSemicolon()
           
 SimpleNode Const()
           
 SimpleNode ConstList()
           
 SimpleNode ConstListContents()
           
 SimpleNode ConstMap()
           
 SimpleNode ConstMapContents()
           
 SimpleNode ConstValue()
           
 SimpleNode Definition()
           
 SimpleNode DefinitionType()
           
 void disable_tracing()
          Disable tracing.
 void enable_tracing()
          Enable tracing.
 SimpleNode Enum()
           
 SimpleNode EnumDef()
           
 SimpleNode EnumDefList()
           
 SimpleNode Extends()
           
 DynamicSerDeField Field()
           
 DynamicSerDeFieldList FieldList()
           
 DynamicSerDeFieldRequiredness FieldRequiredness()
           
 DynamicSerDeFieldType FieldType()
           
 SimpleNode FieldValue()
           
 SimpleNode FlagArgs()
           
 DynamicSerDeFunction Function()
           
 void FunctionType()
           
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 SimpleNode Header()
           
 SimpleNode HeaderList()
           
 SimpleNode Include()
           
static void main(String[] args)
           
 SimpleNode Namespace()
           
 void ReInit(InputStream stream)
          Reinitialise.
 void ReInit(InputStream stream, String encoding)
          Reinitialise.
 void ReInit(Reader stream)
          Reinitialise.
 void ReInit(thrift_grammarTokenManager tm)
          Reinitialise.
 SimpleNode Senum()
           
 SimpleNode SenumDef()
           
 SimpleNode SenumDefList()
           
 SimpleNode Service()
           
 SimpleNode Start()
           
 DynamicSerDeStruct Struct()
           
 void Throws()
           
 DynamicSerDeTypeBool TypeBool()
           
 DynamicSerDeTypeByte TypeByte()
           
 DynamicSerDeTypedef Typedef()
           
 SimpleNode TypeDefinition()
           
 DynamicSerDeTypeDouble TypeDouble()
           
 DynamicSerDeTypei16 Typei16()
           
 DynamicSerDeTypei32 Typei32()
           
 DynamicSerDeTypei64 Typei64()
           
 DynamicSerDeTypeList TypeList()
           
 DynamicSerDeTypeMap TypeMap()
           
 DynamicSerDeTypeSet TypeSet()
           
 DynamicSerDeTypeString TypeString()
           
 SimpleNode UnflagArgs()
           
 SimpleNode Xception()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected JJTthrift_grammarState jjtree

types

protected Map<String,DynamicSerDeSimpleNode> types

tables

protected Map<String,DynamicSerDeSimpleNode> tables

token_source

public thrift_grammarTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

thrift_grammar

protected thrift_grammar(InputStream is,
                         List<String> include_path,
                         boolean junk)

thrift_grammar

public thrift_grammar(InputStream stream)
Constructor with InputStream.


thrift_grammar

public thrift_grammar(InputStream stream,
                      String encoding)
Constructor with InputStream and supplied encoding


thrift_grammar

public thrift_grammar(Reader stream)
Constructor.


thrift_grammar

public thrift_grammar(thrift_grammarTokenManager tm)
Constructor with generated Token Manager.

Method Detail

main

public static void main(String[] args)

Start

public final SimpleNode Start()
                       throws ParseException
Throws:
ParseException

HeaderList

public final SimpleNode HeaderList()
                            throws ParseException
Throws:
ParseException

Header

public final SimpleNode Header()
                        throws ParseException
Throws:
ParseException

Namespace

public final SimpleNode Namespace()
                           throws ParseException
Throws:
ParseException

Include

public final SimpleNode Include()
                         throws ParseException
Throws:
ParseException

Definition

public final SimpleNode Definition()
                            throws ParseException
Throws:
ParseException

TypeDefinition

public final SimpleNode TypeDefinition()
                                throws ParseException
Throws:
ParseException

Typedef

public final DynamicSerDeTypedef Typedef()
                                  throws ParseException
Throws:
ParseException

CommaOrSemicolon

public final void CommaOrSemicolon()
                            throws ParseException
Throws:
ParseException

Enum

public final SimpleNode Enum()
                      throws ParseException
Throws:
ParseException

EnumDefList

public final SimpleNode EnumDefList()
                             throws ParseException
Throws:
ParseException

EnumDef

public final SimpleNode EnumDef()
                         throws ParseException
Throws:
ParseException

Senum

public final SimpleNode Senum()
                       throws ParseException
Throws:
ParseException

SenumDefList

public final SimpleNode SenumDefList()
                              throws ParseException
Throws:
ParseException

SenumDef

public final SimpleNode SenumDef()
                          throws ParseException
Throws:
ParseException

Const

public final SimpleNode Const()
                       throws ParseException
Throws:
ParseException

ConstValue

public final SimpleNode ConstValue()
                            throws ParseException
Throws:
ParseException

ConstList

public final SimpleNode ConstList()
                           throws ParseException
Throws:
ParseException

ConstListContents

public final SimpleNode ConstListContents()
                                   throws ParseException
Throws:
ParseException

ConstMap

public final SimpleNode ConstMap()
                          throws ParseException
Throws:
ParseException

ConstMapContents

public final SimpleNode ConstMapContents()
                                  throws ParseException
Throws:
ParseException

Struct

public final DynamicSerDeStruct Struct()
                                throws ParseException
Throws:
ParseException

Xception

public final SimpleNode Xception()
                          throws ParseException
Throws:
ParseException

Service

public final SimpleNode Service()
                         throws ParseException
Throws:
ParseException

FlagArgs

public final SimpleNode FlagArgs()
                          throws ParseException
Throws:
ParseException

UnflagArgs

public final SimpleNode UnflagArgs()
                            throws ParseException
Throws:
ParseException

Extends

public final SimpleNode Extends()
                         throws ParseException
Throws:
ParseException

Function

public final DynamicSerDeFunction Function()
                                    throws ParseException
Throws:
ParseException

Async

public final void Async()
                 throws ParseException
Throws:
ParseException

Throws

public final void Throws()
                  throws ParseException
Throws:
ParseException

FieldList

public final DynamicSerDeFieldList FieldList()
                                      throws ParseException
Throws:
ParseException

Field

public final DynamicSerDeField Field()
                              throws ParseException
Throws:
ParseException

FieldRequiredness

public final DynamicSerDeFieldRequiredness FieldRequiredness()
                                                      throws ParseException
Throws:
ParseException

FieldValue

public final SimpleNode FieldValue()
                            throws ParseException
Throws:
ParseException

DefinitionType

public final SimpleNode DefinitionType()
                                throws ParseException
Throws:
ParseException

FunctionType

public final void FunctionType()
                        throws ParseException
Throws:
ParseException

FieldType

public final DynamicSerDeFieldType FieldType()
                                      throws ParseException
Throws:
ParseException

TypeString

public final DynamicSerDeTypeString TypeString()
                                        throws ParseException
Throws:
ParseException

TypeByte

public final DynamicSerDeTypeByte TypeByte()
                                    throws ParseException
Throws:
ParseException

Typei16

public final DynamicSerDeTypei16 Typei16()
                                  throws ParseException
Throws:
ParseException

Typei32

public final DynamicSerDeTypei32 Typei32()
                                  throws ParseException
Throws:
ParseException

Typei64

public final DynamicSerDeTypei64 Typei64()
                                  throws ParseException
Throws:
ParseException

TypeDouble

public final DynamicSerDeTypeDouble TypeDouble()
                                        throws ParseException
Throws:
ParseException

TypeBool

public final DynamicSerDeTypeBool TypeBool()
                                    throws ParseException
Throws:
ParseException

TypeMap

public final DynamicSerDeTypeMap TypeMap()
                                  throws ParseException
Throws:
ParseException

TypeSet

public final DynamicSerDeTypeSet TypeSet()
                                  throws ParseException
Throws:
ParseException

TypeList

public final DynamicSerDeTypeList TypeList()
                                    throws ParseException
Throws:
ParseException

ReInit

public void ReInit(InputStream stream)
Reinitialise.


ReInit

public void ReInit(InputStream stream,
                   String encoding)
Reinitialise.


ReInit

public void ReInit(Reader stream)
Reinitialise.


ReInit

public void ReInit(thrift_grammarTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.



Copyright © 2010 The Apache Software Foundation