org.apache.pig.parser
Class QueryParserFileStream

java.lang.Object
  extended by org.antlr.runtime.ANTLRStringStream
      extended by org.antlr.runtime.ANTLRFileStream
          extended by org.apache.pig.parser.QueryParserFileStream
All Implemented Interfaces:
org.antlr.runtime.CharStream, org.antlr.runtime.IntStream

public class QueryParserFileStream
extends org.antlr.runtime.ANTLRFileStream

Pig's implementation class of file stream, used to make ANTLR case insensitive while preserving case.


Field Summary
 
Fields inherited from class org.antlr.runtime.ANTLRFileStream
fileName
 
Fields inherited from class org.antlr.runtime.ANTLRStringStream
charPositionInLine, data, lastMarker, line, markDepth, markers, n, name, p
 
Fields inherited from interface org.antlr.runtime.CharStream
EOF
 
Constructor Summary
QueryParserFileStream(String fileName)
           
QueryParserFileStream(String fileName, String encoding)
           
 
Method Summary
 int LA(int i)
           
 
Methods inherited from class org.antlr.runtime.ANTLRFileStream
getSourceName, load
 
Methods inherited from class org.antlr.runtime.ANTLRStringStream
consume, getCharPositionInLine, getLine, index, LT, mark, release, reset, rewind, rewind, seek, setCharPositionInLine, setLine, size, substring, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryParserFileStream

public QueryParserFileStream(String fileName)
                      throws IOException
Throws:
IOException

QueryParserFileStream

public QueryParserFileStream(String fileName,
                             String encoding)
                      throws IOException
Throws:
IOException
Method Detail

LA

public int LA(int i)
Specified by:
LA in interface org.antlr.runtime.IntStream
Overrides:
LA in class org.antlr.runtime.ANTLRStringStream


Copyright © 2007-2012 The Apache Software Foundation