public class JdbcQueryTable extends java.lang.Object implements QueryTable
| Constructor and Description |
|---|
JdbcQueryTable(SqlScope scope,
java.lang.String simpleName,
java.lang.String query) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ForeignKeyQueryRef> |
findForeignKeyQueryRefs()
Of the query columns not corresponding with the selected table (if one exists, see findSelectedTable() above), finds
the columns fully covering foreign keys, represented as
JdbcForeignKeyQueryRef. |
manifold.rt.api.util.Pair<SchemaTable,java.util.List<QueryColumn>> |
findSelectedTable()
Find the selected table object that has all its non-null columns selected in the query columns.
|
QueryColumn |
getColumn(java.lang.String columnName) |
java.util.Map<java.lang.String,QueryColumn> |
getColumns() |
java.lang.String |
getEscapedName() |
SqlIssueContainer |
getIssues() |
java.lang.String |
getName() |
java.util.List<Parameter> |
getParameters() |
Schema |
getSchema() |
java.lang.String |
getSqlSource() |
public JdbcQueryTable(SqlScope scope, java.lang.String simpleName, java.lang.String query)
public manifold.rt.api.util.Pair<SchemaTable,java.util.List<QueryColumn>> findSelectedTable()
findSelectedTable in interface QueryTablepublic java.util.List<ForeignKeyQueryRef> findForeignKeyQueryRefs()
JdbcForeignKeyQueryRef. The idea is to provide get<foreign-key-ref>()
methods. For example, a city_id foreign key would result in a getCityRef() method return a City
entity.findForeignKeyQueryRefs in interface QueryTablepublic java.lang.String getSqlSource()
getSqlSource in interface Statementpublic java.lang.String getEscapedName()
getEscapedName in interface Statementpublic java.util.Map<java.lang.String,QueryColumn> getColumns()
getColumns in interface TablegetColumns in interface QueryTablepublic QueryColumn getColumn(java.lang.String columnName)
getColumn in interface TablegetColumn in interface QueryTablepublic java.util.List<Parameter> getParameters()
getParameters in interface StatementgetParameters in interface QueryTablepublic SqlIssueContainer getIssues()
Copyright © 2024. All rights reserved.