Class Copy (0.8.0)

public class Copy implements CopyTreeConstants, CopyConstants

Inheritance

java.lang.Object > Copy

Static Methods

parse(String stmt, CopyTreeParser.CopyOptions options)

public static void parse(String stmt, CopyTreeParser.CopyOptions options)
Parameters
NameDescription
stmtString
optionsCopyTreeParser.CopyOptions
Exceptions
TypeDescription
Exception

Constructors

Copy(CopyTokenManager tm)

public Copy(CopyTokenManager tm)

Constructor with generated Token Manager.

Parameter
NameDescription
tmCopyTokenManager

Copy(InputStream stream)

public Copy(InputStream stream)

Constructor with InputStream.

Parameter
NameDescription
streamInputStream

Copy(InputStream stream, String encoding)

public Copy(InputStream stream, String encoding)

Constructor with InputStream and supplied encoding

Parameters
NameDescription
streamInputStream
encodingString

Copy(Reader stream)

public Copy(Reader stream)

Constructor.

Parameter
NameDescription
streamReader

Fields

jj_nt

public Token jj_nt

Next token.

Field Value
TypeDescription
Token

jjtree

protected JJTCopyState jjtree
Field Value
TypeDescription
JJTCopyState

token

public Token token

Current token.

Field Value
TypeDescription
Token

token_source

public CopyTokenManager token_source

Generated Token Manager.

Field Value
TypeDescription
CopyTokenManager

Methods

CopyStmt()

public final void CopyStmt()

Copy Statement.

Exceptions
TypeDescription
ParseException

ReInit(CopyTokenManager tm)

public void ReInit(CopyTokenManager tm)

Reinitialise.

Parameter
NameDescription
tmCopyTokenManager

ReInit(InputStream stream)

public void ReInit(InputStream stream)

Reinitialise.

Parameter
NameDescription
streamInputStream

ReInit(InputStream stream, String encoding)

public void ReInit(InputStream stream, String encoding)

Reinitialise.

Parameters
NameDescription
streamInputStream
encodingString

ReInit(Reader stream)

public void ReInit(Reader stream)

Reinitialise.

Parameter
NameDescription
streamReader

Start()

public final ASTStart Start()

Main production.

Returns
TypeDescription
ASTStart
Exceptions
TypeDescription
ParseException

Stmt()

public final void Stmt()
Exceptions
TypeDescription
ParseException

booleanOption()

public final void booleanOption()
Exceptions
TypeDescription
ParseException

columnElem()

public final void columnElem()

Column Element.

Exceptions
TypeDescription
ParseException

columnList()

public final void columnList()

Column List.

Exceptions
TypeDescription
ParseException

copyDirection()

public final void copyDirection()

Copy From

Exceptions
TypeDescription
ParseException

copyFileName()

public final void copyFileName()
Exceptions
TypeDescription
ParseException

copyOptionElement()

public final void copyOptionElement()
Exceptions
TypeDescription
ParseException

copyOptionGenericList()

public final void copyOptionGenericList()
Exceptions
TypeDescription
ParseException

copyOptionList()

public final void copyOptionList()
Exceptions
TypeDescription
ParseException

copyOptions()

public final void copyOptions()

Optional list of copy options

Exceptions
TypeDescription
ParseException

disable_tracing()

public final void disable_tracing()

Disable tracing.

enable_tracing()

public final void enable_tracing()

Enable tracing.

formatType()

public final void formatType()
Exceptions
TypeDescription
ParseException

generateParseException()

public ParseException generateParseException()

Generate ParseException.

Returns
TypeDescription
ParseException

getNextToken()

public final Token getNextToken()

Get the next Token.

Returns
TypeDescription
Token

getToken(int index)

public final Token getToken(int index)

Get the specific Token.

Parameter
NameDescription
indexint
Returns
TypeDescription
Token

identifier()

public final void identifier()

An Identifier.

Exceptions
TypeDescription
ParseException

namespace()

public final void namespace()
Exceptions
TypeDescription
ParseException

optColumnList()

public final void optColumnList()

Optional Column List

Exceptions
TypeDescription
ParseException

optWith()

public final void optWith()

Optional With

Exceptions
TypeDescription
ParseException

qualifiedName()

public final void qualifiedName()

Qualified Name. Zero or more namespaces qualifiers can prefix the name.

Exceptions
TypeDescription
ParseException

quotedIdentifier()

public final void quotedIdentifier()
Exceptions
TypeDescription
ParseException

singleChar()

public final void singleChar()
Exceptions
TypeDescription
ParseException

trace_enabled()

public final boolean trace_enabled()

Trace enabled.

Returns
TypeDescription
boolean