Skip navigation links
A B C D E F G H I N O Q R S T U V 

A

AbstractBaseDAO<E extends BaseEntity<PK>,PK> - Class in com.github.fabienbarbero.sql
 
AbstractBaseDAO(String, String, HasSQLConnection) - Constructor for class com.github.fabienbarbero.sql.AbstractBaseDAO
 
AbstractDAO<E extends Entity> - Class in com.github.fabienbarbero.sql
 
AbstractDAO(String, HasSQLConnection) - Constructor for class com.github.fabienbarbero.sql.AbstractDAO
 
addEntity(T) - Method in interface com.github.fabienbarbero.sql.DAO
 
append(String, Object...) - Method in class com.github.fabienbarbero.sql.SQLQueryBuilder
 

B

BaseDAO<T extends BaseEntity<PK>,PK> - Interface in com.github.fabienbarbero.sql
DAO using primary key
BaseEntity<PK> - Interface in com.github.fabienbarbero.sql
 
begin(DataSource) - Static method in class com.github.fabienbarbero.sql.SQLTransaction
Begin a new SQL transaction in R/W mode and default isolation level
begin(DataSource, boolean, SQLTransaction.IsolationLevel) - Static method in class com.github.fabienbarbero.sql.SQLTransaction
Begin a new SQL transaction
begin(Connection) - Static method in class com.github.fabienbarbero.sql.SQLTransaction
Begin a new SQL transaction in R/W mode and default isolation level
begin(Connection, boolean, SQLTransaction.IsolationLevel) - Static method in class com.github.fabienbarbero.sql.SQLTransaction
Begin a new SQL transaction
buildEntity(SQLRecord) - Method in interface com.github.fabienbarbero.sql.SQLRecordMapper
Build the entity from the record

C

close() - Method in class com.github.fabienbarbero.sql.SQLAccess
 
close() - Method in class com.github.fabienbarbero.sql.SQLIterator
 
close() - Method in class com.github.fabienbarbero.sql.SQLSavepoint
 
close() - Method in class com.github.fabienbarbero.sql.SQLTransaction
 
com.github.fabienbarbero.sql - package com.github.fabienbarbero.sql
 
com.github.fabienbarbero.sql.helper - package com.github.fabienbarbero.sql.helper
 
commit() - Method in class com.github.fabienbarbero.sql.SQLTransaction
Commit the current transaction
count(SQLQueryBuilder) - Method in class com.github.fabienbarbero.sql.SQLRunner
Execute a "count" query
createSavepoint(String) - Method in class com.github.fabienbarbero.sql.SQLTransaction
Create a new savepoint

D

DAO<T extends Entity> - Interface in com.github.fabienbarbero.sql
Simple Data Access Object (DAO)
deleteEntity(PK) - Method in class com.github.fabienbarbero.sql.AbstractBaseDAO
 
deleteEntity(E) - Method in class com.github.fabienbarbero.sql.AbstractBaseDAO
 
deleteEntity(PK) - Method in interface com.github.fabienbarbero.sql.BaseDAO
Delete an entity by its primary key
deleteEntity(T) - Method in interface com.github.fabienbarbero.sql.BaseDAO
Delete an entity

E

Entity - Interface in com.github.fabienbarbero.sql
 
equals(Object) - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
 
equals(Object) - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
 
equals(Object) - Method in class com.github.fabienbarbero.sql.helper.SQLIndex
 
equals(Object) - Method in class com.github.fabienbarbero.sql.helper.SQLTable
 
equals(Object) - Method in class com.github.fabienbarbero.sql.SQLRecord.Column
 
execute(SQLQueryBuilder) - Method in class com.github.fabienbarbero.sql.SQLRunner
Execute a query for UPDATE, INSERT or DELETE

F

find(PK) - Method in class com.github.fabienbarbero.sql.AbstractBaseDAO
 
find(PK) - Method in interface com.github.fabienbarbero.sql.BaseDAO
Find an entity by its primary key
findAll() - Method in class com.github.fabienbarbero.sql.AbstractDAO
 
findAll() - Method in interface com.github.fabienbarbero.sql.DAO
 

G

getBigDecimal(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional BigDecimal from this record
getBlob(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Blob from this record
getBoolean(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Boolean from this record
getBytes(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional byte array from this record
getCause() - Method in exception com.github.fabienbarbero.sql.SQLFaultException
 
getClob(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Clob from this record
getColumn(String) - Method in class com.github.fabienbarbero.sql.helper.SQLTable
 
getColumnName() - Method in class com.github.fabienbarbero.sql.helper.SQLIndex
Get the column owning the index
getColumns() - Method in class com.github.fabienbarbero.sql.helper.SQLTable
Get the table columns
getColumns() - Method in class com.github.fabienbarbero.sql.SQLRecord
Get the available columns from this record
getConnection() - Method in interface com.github.fabienbarbero.sql.HasSQLConnection
 
getConnection() - Method in class com.github.fabienbarbero.sql.SQLAccess
 
getConnection() - Method in class com.github.fabienbarbero.sql.SQLTransaction
 
getDeleteRule() - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
 
getEnum(String, Class<E>) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Enum from this record.
getErrorCode() - Method in exception com.github.fabienbarbero.sql.SQLFaultException
Get the SQL error code.
getFKColumnName() - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
Get the column containing the foreign key
getFKTableName() - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
Get the table containing the foreign key
getFloat(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Float from this record
getForeignKeys() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Get the foreign keys for this column
getIndexes() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Get the indexes for this column
getInstant(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Instant from this record
getInteger(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Integer from this record
getLocalDate(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional LocalDate from this record
getLocalTime(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional LocalTime from this record
getLong(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Long from this record
getName() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Get the column name
getName() - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
Get the key name
getName() - Method in class com.github.fabienbarbero.sql.helper.SQLIndex
Get the index name
getName() - Method in class com.github.fabienbarbero.sql.helper.SQLTable
Get the table name
getName() - Method in class com.github.fabienbarbero.sql.SQLRecord.Column
Get the column name
getName() - Method in class com.github.fabienbarbero.sql.SQLSavepoint
Get the savepoint name
getOrdering() - Method in class com.github.fabienbarbero.sql.helper.SQLIndex
Get the index ordering
getPKColumnName() - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
Get the column containing the primary key
getPKTableName() - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
Get the table containing the primary key
getPrimaryColumns() - Method in class com.github.fabienbarbero.sql.helper.SQLTable
Get the primary columns for this table
getPrimaryKey() - Method in interface com.github.fabienbarbero.sql.BaseEntity
 
getPrimaryKey() - Method in class com.github.fabienbarbero.sql.UUIDBaseEntity
 
getShort(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional Short from this record
getSize() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Get the column size
getString(String) - Method in class com.github.fabienbarbero.sql.SQLRecord
Get an optional String from this record
getTable(String) - Method in class com.github.fabienbarbero.sql.helper.SQLHelper
 
getTable() - Method in class com.github.fabienbarbero.sql.SQLRecord.Column
Get the table name containing the column
getTableName() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Get the table owning this column
getTableName() - Method in class com.github.fabienbarbero.sql.helper.SQLIndex
Get the table owning the index
getTables() - Method in class com.github.fabienbarbero.sql.helper.SQLHelper
Get the tables information
getType() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Get the column type (see java.sql.Types)
getUpdateRule() - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
 
getUuid() - Method in class com.github.fabienbarbero.sql.UUIDBaseEntity
 

H

hashCode() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
 
hashCode() - Method in class com.github.fabienbarbero.sql.helper.SQLForeignKey
 
hashCode() - Method in class com.github.fabienbarbero.sql.helper.SQLIndex
 
hashCode() - Method in class com.github.fabienbarbero.sql.helper.SQLTable
 
hashCode() - Method in class com.github.fabienbarbero.sql.SQLRecord.Column
 
hasNext() - Method in class com.github.fabienbarbero.sql.SQLIterator
 
HasSQLConnection - Interface in com.github.fabienbarbero.sql
 

I

isIndexed() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Indicates if this column is indexed
isNullable() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Indicates if a column allows null values
isPrimary() - Method in class com.github.fabienbarbero.sql.helper.SQLColumn
Indicates if this column is a primary key
isTableColumnExists(String, String) - Method in class com.github.fabienbarbero.sql.helper.SQLHelper
Indicates if a table column exists
isTableExists(String) - Method in class com.github.fabienbarbero.sql.helper.SQLHelper
Indicates if a table exists

N

next() - Method in class com.github.fabienbarbero.sql.SQLIterator
 

O

of(DataSource) - Static method in class com.github.fabienbarbero.sql.SQLAccess
 
of(DataSource, boolean) - Static method in class com.github.fabienbarbero.sql.SQLAccess
 
of(Connection) - Static method in class com.github.fabienbarbero.sql.SQLAccess
 
of(Connection, boolean) - Static method in class com.github.fabienbarbero.sql.SQLAccess
 

Q

query(SQLRecordMapper<T>, SQLQueryBuilder) - Method in class com.github.fabienbarbero.sql.SQLRunner
Select entities from a given SQL query
queryAsStream(SQLRecordMapper<T>, Integer, SQLQueryBuilder) - Method in class com.github.fabienbarbero.sql.SQLRunner
Select entities from a given SQL query.
queryIterator(SQLRecordMapper<T>, Integer, boolean, SQLQueryBuilder) - Method in class com.github.fabienbarbero.sql.SQLRunner
Select entities from a given SQL query.
querySingle(SQLRecordMapper<T>, SQLQueryBuilder) - Method in class com.github.fabienbarbero.sql.SQLRunner
Select a single entity from a given SQL query

R

remove() - Method in class com.github.fabienbarbero.sql.SQLIterator
Delete the current entity
rollback() - Method in class com.github.fabienbarbero.sql.SQLSavepoint
Rollback the savepoint to its creation state
rollback() - Method in class com.github.fabienbarbero.sql.SQLTransaction
Rollback the current transaction

S

setUuid(String) - Method in class com.github.fabienbarbero.sql.UUIDBaseEntity
 
SQLAccess - Class in com.github.fabienbarbero.sql
 
SQLColumn - Class in com.github.fabienbarbero.sql.helper
 
SQLFaultException - Exception in com.github.fabienbarbero.sql
 
SQLFaultException(String, SQLException) - Constructor for exception com.github.fabienbarbero.sql.SQLFaultException
 
SQLForeignKey - Class in com.github.fabienbarbero.sql.helper
 
SQLForeignKey.Rule - Enum in com.github.fabienbarbero.sql.helper
 
SQLHelper - Class in com.github.fabienbarbero.sql.helper
 
SQLHelper(Connection) - Constructor for class com.github.fabienbarbero.sql.helper.SQLHelper
 
SQLHelper(HasSQLConnection) - Constructor for class com.github.fabienbarbero.sql.helper.SQLHelper
 
SQLIndex - Class in com.github.fabienbarbero.sql.helper
 
SQLIndex.Ordering - Enum in com.github.fabienbarbero.sql.helper
 
SQLIterator<T> - Class in com.github.fabienbarbero.sql
 
SQLObject - Interface in com.github.fabienbarbero.sql
Interface to implements to save custom objects in the database.
SQLQueryBuilder - Class in com.github.fabienbarbero.sql
 
SQLQueryBuilder() - Constructor for class com.github.fabienbarbero.sql.SQLQueryBuilder
 
SQLQueryBuilder(String, Object...) - Constructor for class com.github.fabienbarbero.sql.SQLQueryBuilder
 
SQLRecord - Class in com.github.fabienbarbero.sql
Represents a SQL record (row).
SQLRecord.Column - Class in com.github.fabienbarbero.sql
Represents a column in a SQLRecord
SQLRecordMapper<T> - Interface in com.github.fabienbarbero.sql
Map a SQL record to a Java object (entity).
SQLRunner - Class in com.github.fabienbarbero.sql
 
SQLRunner(Connection) - Constructor for class com.github.fabienbarbero.sql.SQLRunner
 
SQLRunner(HasSQLConnection) - Constructor for class com.github.fabienbarbero.sql.SQLRunner
 
SQLSavepoint - Class in com.github.fabienbarbero.sql
 
SQLTable - Class in com.github.fabienbarbero.sql.helper
 
SQLTransaction - Class in com.github.fabienbarbero.sql
 
SQLTransaction.IsolationLevel - Enum in com.github.fabienbarbero.sql
 

T

tableName - Variable in class com.github.fabienbarbero.sql.AbstractDAO
 
toSQLObject(Connection) - Method in interface com.github.fabienbarbero.sql.SQLObject
Convert the current object to SQL object (String, Blob ...)
toString() - Method in class com.github.fabienbarbero.sql.SQLRecord.Column
 

U

updateEntity(T) - Method in interface com.github.fabienbarbero.sql.BaseDAO
Update an entity
uuid - Variable in class com.github.fabienbarbero.sql.UUIDBaseEntity
 
UUIDBaseDAO<E extends UUIDBaseEntity> - Class in com.github.fabienbarbero.sql
 
UUIDBaseDAO(String, HasSQLConnection) - Constructor for class com.github.fabienbarbero.sql.UUIDBaseDAO
 
UUIDBaseEntity - Class in com.github.fabienbarbero.sql
 
UUIDBaseEntity() - Constructor for class com.github.fabienbarbero.sql.UUIDBaseEntity
 

V

valueOf(String) - Static method in enum com.github.fabienbarbero.sql.helper.SQLForeignKey.Rule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.fabienbarbero.sql.helper.SQLIndex.Ordering
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.fabienbarbero.sql.SQLTransaction.IsolationLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.fabienbarbero.sql.helper.SQLForeignKey.Rule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.fabienbarbero.sql.helper.SQLIndex.Ordering
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.fabienbarbero.sql.SQLTransaction.IsolationLevel
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I N O Q R S T U V 
Skip navigation links

Copyright © 2018. All rights reserved.