@grails.compiler.GrailsCompileStatic final class TaackJdbcService extends java.lang.Object
Service managing JDBC connection. Queries support TQL. It can be viewed as a subset of the HQL.
Target supported features:
Sample TQL Queries include:
select u.* from User u;
select t.userCreated.username from Task t;
Modifiers | Name | Description |
---|---|---|
static class |
TaackJdbcService.Jdbc |
Allow to register a GormEntity class as base class for TQL queries. |
Type | Name and description |
---|---|
org.grails.datastore.mapping.core.Datastore |
datastore |
org.hibernate.SessionFactory |
sessionFactory |
Constructor and description |
---|
TaackJdbcService
() |
Type Params | Return Type | Name and description |
---|---|---|
|
final byte[] |
getBufFromTql(java.lang.String tql, java.lang.Integer max, int offset) |
|
static final java.util.Map<java.lang.Class<? extends org.grails.datastore.gorm.GormEntity>, FieldInfo> |
getFieldInfoMapDesc() |
|
final byte[] |
getIndexInfo(java.lang.String table) |
|
final byte[] |
getIndexInfoRSMetaData(java.lang.String table) |
|
final byte[] |
getPingMessage() |
|
final byte[] |
getPrimaryKey(java.lang.String table) |
|
final byte[] |
getProtoColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String columnNamePattern) |
|
final byte[] |
getProtoTables(java.lang.String schemaPattern, java.lang.String tableNamePattern) |
|
static final FieldInfo[] |
gormFields(java.lang.String className) |
|
final grails.util.Pair<java.util.List<java.lang.Object>, java.lang.Long> |
listFromTranslator(taack.jdbc.common.tql.listener.TQLTranslator translator, java.lang.Integer max, int offset) |
|
final taack.jdbc.common.TaackResultSetOuterClass$TaackResultSet |
protoFromTranslator(taack.jdbc.common.tql.listener.TQLTranslator translator, java.lang.Integer maxRow, int offset) |
|
static final void |
registerJdbcClass(java.lang.Class<? extends org.grails.datastore.gorm.GormEntity> aClass, FieldInfo[] fieldInfos) |
|
static final void |
registerJdbcClass(java.lang.Class<? extends org.grails.datastore.gorm.GormEntity> aClass, GetMethodReturn[] methodReturns) |
|
static final taack.jdbc.common.tql.listener.TQLTranslator |
translatorFromTql(java.lang.String tql) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation