Class Copy (0.9.0)

publicclass CopyimplementsCopyTreeConstants,CopyConstants

Inheritance

java.lang.Object > Copy

Static Methods

parse(String stmt, CopyTreeParser.CopyOptions options)

publicstaticvoidparse(Stringstmt,CopyTreeParser.CopyOptionsoptions)
Parameters
Name Description
stmt String
Exceptions
Type Description

Constructors

Copy(CopyTokenManager tm)

publicCopy(CopyTokenManagertm)

Constructor with generated Token Manager.

Parameter
Name Description

Copy(InputStream stream)

publicCopy(InputStreamstream)

Constructor with InputStream.

Parameter
Name Description
stream InputStream

Copy(InputStream stream, String encoding)

publicCopy(InputStreamstream,Stringencoding)

Constructor with InputStream and supplied encoding

Parameters
Name Description
stream InputStream
encoding String

Copy(Reader stream)

publicCopy(Readerstream)

Constructor.

Parameter
Name Description
stream Reader

Fields

jj_nt

publicTokenjj_nt

Next token.

Field Value
Type Description

jjtree

protectedJJTCopyStatejjtree
Field Value
Type Description

token

publicTokentoken

Current token.

Field Value
Type Description

token_source

publicCopyTokenManagertoken_source

Generated Token Manager.

Field Value
Type Description

Methods

CopyStmt()

publicfinalvoidCopyStmt()

Copy Statement.

Exceptions
Type Description

ReInit(CopyTokenManager tm)

publicvoidReInit(CopyTokenManagertm)

Reinitialise.

Parameter
Name Description

ReInit(InputStream stream)

publicvoidReInit(InputStreamstream)

Reinitialise.

Parameter
Name Description
stream InputStream

ReInit(InputStream stream, String encoding)

publicvoidReInit(InputStreamstream,Stringencoding)

Reinitialise.

Parameters
Name Description
stream InputStream
encoding String

ReInit(Reader stream)

publicvoidReInit(Readerstream)

Reinitialise.

Parameter
Name Description
stream Reader

Start()

publicfinalASTStartStart()

Main production.

Returns
Type Description
Exceptions
Type Description

Stmt()

publicfinalvoidStmt()
Exceptions
Type Description

booleanOption()

publicfinalvoidbooleanOption()
Exceptions
Type Description

columnElem()

publicfinalvoidcolumnElem()

Column Element.

Exceptions
Type Description

columnList()

publicfinalvoidcolumnList()

Column List.

Exceptions
Type Description

copyDirection()

publicfinalvoidcopyDirection()

Copy From

Exceptions
Type Description

copyFileName()

publicfinalvoidcopyFileName()
Exceptions
Type Description

copyOptionElement()

publicfinalvoidcopyOptionElement()
Exceptions
Type Description

copyOptionGenericList()

publicfinalvoidcopyOptionGenericList()
Exceptions
Type Description

copyOptionList()

publicfinalvoidcopyOptionList()
Exceptions
Type Description

copyOptions()

publicfinalvoidcopyOptions()

Optional list of copy options

Exceptions
Type Description

disable_tracing()

publicfinalvoiddisable_tracing()

Disable tracing.

enable_tracing()

publicfinalvoidenable_tracing()

Enable tracing.

formatType()

publicfinalvoidformatType()
Exceptions
Type Description

generateParseException()

publicParseExceptiongenerateParseException()

Generate ParseException.

Returns
Type Description

getNextToken()

publicfinalTokengetNextToken()

Get the next Token.

Returns
Type Description

getToken(int index)

publicfinalTokengetToken(intindex)

Get the specific Token.

Parameter
Name Description
index int
Returns
Type Description

identifier()

publicfinalvoididentifier()

An Identifier.

Exceptions
Type Description

namespace()

publicfinalvoidnamespace()
Exceptions
Type Description

optColumnList()

publicfinalvoidoptColumnList()

Optional Column List

Exceptions
Type Description

optWith()

publicfinalvoidoptWith()

Optional With

Exceptions
Type Description

qualifiedName()

publicfinalvoidqualifiedName()

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

Exceptions
Type Description

quotedIdentifier()

publicfinalvoidquotedIdentifier()
Exceptions
Type Description

singleChar()

publicfinalvoidsingleChar()
Exceptions
Type Description

trace_enabled()

publicfinalbooleantrace_enabled()

Trace enabled.

Returns
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.