org.sql.generation.api.grammar.definition.view
Interface ViewDefinition

All Superinterfaces:
SchemaDefinitionStatement, SchemaElement, SchemaStatement, SQLStatement, org.atp.api.Typeable<SchemaStatement>

public interface ViewDefinition
extends SchemaDefinitionStatement, SchemaElement

This syntax element represents the CREATE VIEW statement.

Author:
Stanislav Muhametsin

Method Summary
 ViewCheckOption getViewCheckOption()
          Returns the view check option.
 TableName getViewName()
          Returns the name of this view.
 QueryExpression getViewQuery()
          Returns the query defining the contents for this view.
 ViewSpecification getViewSpecification()
          Returns the view specification.
 Boolean isRecursive()
          Returns true if the view is defined to be RECURSIVE, false otherwise.
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 
Methods inherited from interface org.sql.generation.api.grammar.definition.schema.SchemaElement
asTypeable
 

Method Detail

isRecursive

Boolean isRecursive()
Returns true if the view is defined to be RECURSIVE, false otherwise.

Returns:
true if the view is defined to be RECURSIVE, false otherwise.

getViewName

TableName getViewName()
Returns the name of this view.

Returns:
The name of this view.

getViewSpecification

ViewSpecification getViewSpecification()
Returns the view specification.

Returns:
The view specification.
See Also:
ViewSpecification

getViewQuery

QueryExpression getViewQuery()
Returns the query defining the contents for this view.

Returns:
The query defining the contents for this view.

getViewCheckOption

ViewCheckOption getViewCheckOption()
Returns the view check option. Will be null if none defined.

Returns:
The view check option. Will be null if none defined.
See Also:
ViewCheckOption


Copyright © 2010-2011. All Rights Reserved.