public class View extends AbstractView
MAX_IDENTIFIER_LENGTH| Constructor and Description |
|---|
View(GrainPart grainPart,
String name,
String sql) |
| Modifier and Type | Method and Description |
|---|---|
void |
createViewScript(PrintWriter bw,
SQLGenerator gen)
Creates CREATE VIEW script in different SQL dialects by using 'visitor' pattern.
|
Map<String,ViewColumnMeta<?>> |
getColumns()
Returns a map of columns of the view.
|
getAggregateColumns, getColumnIndex, getColumnRef, getSegments, selectScriptdeletegetGrain, getGrainPartequals, getCelestaDoc, getName, getQuotedName, getQuotedNameIfNeeded, hashCode, limitName, limitName, setCelestaDocpublic View(GrainPart grainPart, String name, String sql) throws ParseException
ParseExceptionpublic final Map<String,ViewColumnMeta<?>> getColumns()
AbstractViewgetColumns in interface HasColumnsgetColumns in class AbstractViewpublic void createViewScript(PrintWriter bw, SQLGenerator gen) throws IOException
bw - stream that the saving is performed intogen - generator-visitorIOException - error on writing to streamCopyright © 2023 CURS. All rights reserved.