| Package | Description |
|---|---|
| org.vesalainen.parsers.sql |
| Modifier and Type | Field and Description |
|---|---|
protected Table<R,C> |
WhereStatement.table |
protected Table<R,C> |
ColumnReferenceImpl.table |
| Modifier and Type | Method and Description |
|---|---|
protected Table<R,C> |
Engine.createTable(String schema,
String tablename,
String correlationName)
Factory method for creating Table
|
Table |
WhereStatement.getTable() |
Table |
TableContext.getTable() |
Table<R,C> |
InsertStatement.getTable() |
Table<R,C> |
ColumnReferenceImpl.getTable() |
Table<R,C> |
ColumnReference.getTable() |
Table |
AbstractFunction.getTable() |
protected Table<R,C> |
SqlParser.tableReference(String schema,
String tablename,
String correlationName,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
| Modifier and Type | Method and Description |
|---|---|
ArrayMap<Table<R,C>,TableContext<R,C>> |
TableContext.getOthers() |
List<Table<R,C>> |
TableExpression.getTableList() |
Collection<Table<R,C>> |
SelectStatement.getTables() |
| Modifier and Type | Method and Description |
|---|---|
protected TableContext<R,C> |
Engine.createTableContext(Table<R,C> table,
ArrayMap<Table<R,C>,TableContext<R,C>> others)
Factory method for creating TableContext
|
protected Statement<R,C> |
SqlParser.deleteStatementSearched(Table<R,C> table,
Condition<R,C> condition,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
protected Statement<R,C> |
SqlParser.deleteStatementSearched(Table<R,C> table,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
abstract Collection<R> |
Engine.fetch(Table<R,C> table)
Non joined fetch
|
protected void |
SqlParser.fromClause(Table<R,C> table,
List<Table<R,C>> list) |
JoinMap<R> |
TableContext.getJoinMapTo(Table table) |
TableContext<R,C> |
TableContext.getOther(Table table) |
protected Statement<R,C> |
SqlParser.insertStatement(Table<R,C> table,
InsertColumnsAndSource<R,C> insertColumnsAndSource,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
Range<C> |
JoinCondition.narrow(SQLConverter<R,C> selector,
Range<C> range,
Table fromTable,
String column,
C lower,
C upper) |
Range<C> |
JoinComparison.narrow(SQLConverter<R,C> selector,
Range<C> range,
Table fromTable,
String column,
C lower,
C upper) |
void |
TableContext.narrow(Table fromTable,
String column,
C lower,
C upper) |
void |
AbstractFunction.setTable(Table table) |
void |
ColumnReferenceImpl.setTable(Table<R,C> table) |
void |
ColumnReference.setTable(Table<R,C> table) |
protected Statement<R,C> |
SqlParser.updateStatementSearched(Table<R,C> table,
SetClause<R,C> setClause,
List<SetClause<R,C>> setClauseList,
Condition<R,C> condition,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
protected Statement<R,C> |
SqlParser.updateStatementSearched(Table<R,C> table,
SetClause<R,C> setClause,
List<SetClause<R,C>> setClauseList,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine) |
| Modifier and Type | Method and Description |
|---|---|
void |
UpdateableFetchResult.addRow(ArrayMap<Table<R,C>,R> rowCandidate) |
void |
OrderedFetchResult.addRow(ArrayMap<Table<R,C>,R> rowCandidate) |
protected Statement<R,C> |
SqlParser.batchStatement(List<Statement<R,C>> list,
Deque<List<Table<R,C>>> tableListStack,
LinkedHashMap<String,Placeholder> placeholderMap,
Engine<R,C> engine) |
protected Condition |
SqlParser.betweenPredicate1(RowValue rv1,
RowValue rv2,
RowValue rv3,
Deque<List<Table<R,C>>> tableListStack) |
protected Condition |
SqlParser.betweenPredicate2(RowValue rv1,
RowValue rv2,
RowValue rv3,
Deque<List<Table<R,C>>> tableListStack) |
protected Condition |
SqlParser.comparisonPredicate1(RowValue rv1,
RowValue rv2,
Deque<List<Table<R,C>>> tableListStack) |
protected Condition |
SqlParser.comparisonPredicate2(RowValue rv1,
RowValue rv2,
Deque<List<Table<R,C>>> tableListStack) |
protected Condition |
SqlParser.comparisonPredicate3(RowValue rv1,
RowValue rv2,
Deque<List<Table<R,C>>> tableListStack) |
protected Condition |
SqlParser.comparisonPredicate4(RowValue rv1,
RowValue rv2,
Deque<List<Table<R,C>>> tableListStack) |
protected Condition |
SqlParser.comparisonPredicate5(RowValue rv1,
RowValue rv2,
Deque<List<Table<R,C>>> tableListStack) |
protected Condition |
SqlParser.comparisonPredicate6(RowValue rv1,
RowValue rv2,
Deque<List<Table<R,C>>> tableListStack) |
protected TableContext<R,C> |
Engine.createTableContext(Table<R,C> table,
ArrayMap<Table<R,C>,TableContext<R,C>> others)
Factory method for creating TableContext
|
protected void |
SqlParser.deleteStart(Deque<List<Table<R,C>>> tableListStack) |
protected Statement<R,C> |
SqlParser.deleteStatementSearched(Table<R,C> table,
Condition<R,C> condition,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
protected Statement<R,C> |
SqlParser.deleteStatementSearched(Table<R,C> table,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
protected void |
SqlParser.fromClause(Table<R,C> table,
List<Table<R,C>> list) |
C |
ColumnReferenceImpl.getValue(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
C |
ColumnReference.getValue(SQLConverter<R,C> engine,
ArrayMap<Table<R,C>,R> rowCandidate) |
protected Condition |
SqlParser.inPredicate1(RowValue rv,
Collection<RowValue> inValues,
Deque<List<Table<R,C>>> tableListStack) |
protected Condition |
SqlParser.inPredicate2(RowValue rv,
Collection<RowValue> inValues,
Deque<List<Table<R,C>>> tableListStack) |
protected void |
SqlParser.insertStart(Deque<List<Table<R,C>>> tableListStack) |
protected Statement<R,C> |
SqlParser.insertStatement(Table<R,C> table,
InsertColumnsAndSource<R,C> insertColumnsAndSource,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
TruthValue |
OrCondition.matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
TruthValue |
NullCondition.matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
TruthValue |
LiteralComparison.matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
TruthValue |
LikeCondition.matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
TruthValue |
JoinComparison.matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
TruthValue |
Condition.matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
TruthValue |
ColumnComparisonInOneTable.matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
TruthValue |
AndCondition.matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
protected Condition |
SqlParser.newComparisonCondition(RowValue rv1,
Relation relation,
RowValue rv2,
List<Table<R,C>> tableList) |
protected abstract Statement |
SqlParser.parse(InputStream is,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack,
LinkedHashMap<String,Placeholder> placeholderMap,
SQLLocator locator) |
protected abstract Statement |
SqlParser.parse(String sql,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack,
LinkedHashMap<String,Placeholder> placeholderMap,
SQLLocator locator) |
protected Statement |
SqlParser.querySpecification(List<ColumnReference> selectList,
TableExpression tableExpression,
LinkedHashMap<String,Placeholder> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
boolean |
ColumnReferenceImpl.resolvTable(Collection<Table<R,C>> tables) |
boolean |
ColumnReference.resolvTable(Collection<Table<R,C>> tables) |
boolean |
AbstractFunction.resolvTable(Collection<Table<R,C>> tables) |
protected void |
SqlParser.selectStart(Deque<List<Table<R,C>>> tableListStack) |
protected TableExpression |
SqlParser.tableExpression(Condition condition,
List<SortSpecification> sortSpecificationList,
Deque<List<Table<R,C>>> tableListStack) |
protected Table<R,C> |
SqlParser.tableReference(String schema,
String tablename,
String correlationName,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
protected void |
SqlParser.updateStart(Deque<List<Table<R,C>>> tableListStack) |
protected Statement<R,C> |
SqlParser.updateStatementSearched(Table<R,C> table,
SetClause<R,C> setClause,
List<SetClause<R,C>> setClauseList,
Condition<R,C> condition,
LinkedHashMap<String,Placeholder<R,C>> placeholderMap,
Engine<R,C> engine,
Deque<List<Table<R,C>>> tableListStack) |
| Constructor and Description |
|---|
TableContext(Engine<R,C> selector,
Table<R,C> table,
ArrayMap<Table<R,C>,TableContext<R,C>> others) |
Copyright © 2014. All rights reserved.