| Package | Description |
|---|---|
| com.github.sebhoss.yosql.generator |
Everything related to code generation.
|
| com.github.sebhoss.yosql.generator.helpers |
Helpers for code generation.
|
| com.github.sebhoss.yosql.generator.raw_jdbc |
The RAW JDBC API
|
| com.github.sebhoss.yosql.model |
The model used during code generation.
|
| com.github.sebhoss.yosql.parser |
Everything related to SQL file parsing.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.javapoet.MethodSpec |
BatchMethodGenerator.batchMethod(SqlConfiguration mergedConfiguration,
List<SqlStatement> sqlStatements) |
protected abstract com.squareup.javapoet.MethodSpec |
AbstractMethodsGenerator.batchWriteMethod(String methodName,
SqlConfiguration sqlConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
RxJavaMethodGenerator.rxJava2ReadMethod(SqlConfiguration mergedConfiguration,
List<SqlStatement> statements) |
protected abstract com.squareup.javapoet.MethodSpec |
AbstractMethodsGenerator.rxJavaReadMethod(String methodName,
SqlConfiguration sqlConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
StandardMethodGenerator.standardCallMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> statements) |
protected abstract com.squareup.javapoet.MethodSpec |
AbstractMethodsGenerator.standardCallMethod(String methodName,
SqlConfiguration sqlConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
StandardMethodGenerator.standardReadMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> statements) |
protected abstract com.squareup.javapoet.MethodSpec |
AbstractMethodsGenerator.standardReadMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
StandardMethodGenerator.standardWriteMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> statements) |
protected abstract com.squareup.javapoet.MethodSpec |
AbstractMethodsGenerator.standardWriteMethod(String methodName,
SqlConfiguration sqlConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
Java8StreamMethodGenerator.streamEagerMethod(SqlConfiguration mergedConfiguration,
List<SqlStatement> statements) |
protected abstract com.squareup.javapoet.MethodSpec |
AbstractMethodsGenerator.streamEagerReadMethod(String methodName,
SqlConfiguration sqlConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
Java8StreamMethodGenerator.streamLazyMethod(SqlConfiguration mergedConfiguration,
List<SqlStatement> statements) |
protected abstract com.squareup.javapoet.MethodSpec |
AbstractMethodsGenerator.streamLazyReadMethod(String methodName,
SqlConfiguration sqlConfiguration,
List<SqlStatement> vendorStatements) |
| Modifier and Type | Method and Description |
|---|---|
static String |
TypicalFields.constantRawSqlStatementFieldName(SqlConfiguration configuration) |
static String |
TypicalFields.constantSqlStatementFieldName(SqlConfiguration configuration) |
static String |
TypicalFields.constantSqlStatementParameterIndexFieldName(SqlConfiguration configuration) |
static com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.endMaybeTry(SqlConfiguration configuration) |
com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.logExecutedQuery(SqlConfiguration configuration) |
static com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.maybeCatchAndRethrow(SqlConfiguration configuration) |
static com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.maybeTry(SqlConfiguration configuration) |
static com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.prepareBatch(SqlConfiguration configuration) |
static com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.prepareStatement(SqlConfiguration configuration) |
static com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.setBatchParameters(SqlConfiguration configuration) |
static com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.setParameters(SqlConfiguration configuration) |
static Iterable<com.squareup.javapoet.TypeName> |
TypicalCodeBlocks.sqlException(SqlConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
com.squareup.javapoet.MethodSpec |
RawJdbcBatchMethodGenerator.batchMethod(SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
protected com.squareup.javapoet.MethodSpec |
RawJdbcMethodGenerator.batchWriteMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
RawJdbcRxJavaMethodGenerator.rxJava2ReadMethod(SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
protected com.squareup.javapoet.MethodSpec |
RawJdbcMethodGenerator.rxJavaReadMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
RawJdbcStandardMethodGenerator.standardCallMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> statements) |
protected com.squareup.javapoet.MethodSpec |
RawJdbcMethodGenerator.standardCallMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
RawJdbcStandardMethodGenerator.standardReadMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
protected com.squareup.javapoet.MethodSpec |
RawJdbcMethodGenerator.standardReadMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
RawJdbcStandardMethodGenerator.standardWriteMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
protected com.squareup.javapoet.MethodSpec |
RawJdbcMethodGenerator.standardWriteMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
RawJdbcJava8StreamMethodGenerator.streamEagerMethod(SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
protected com.squareup.javapoet.MethodSpec |
RawJdbcMethodGenerator.streamEagerReadMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
com.squareup.javapoet.MethodSpec |
RawJdbcJava8StreamMethodGenerator.streamLazyMethod(SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
protected com.squareup.javapoet.MethodSpec |
RawJdbcMethodGenerator.streamLazyReadMethod(String methodName,
SqlConfiguration mergedConfiguration,
List<SqlStatement> vendorStatements) |
| Modifier and Type | Method and Description |
|---|---|
SqlConfiguration |
SqlStatement.getConfiguration() |
static SqlConfiguration |
SqlConfiguration.merge(List<SqlStatement> statements) |
| Constructor and Description |
|---|
SqlStatement(SqlConfiguration configuration,
String rawStatement) |
| Modifier and Type | Method and Description |
|---|---|
SqlConfiguration |
SqlConfigurationFactory.createStatementConfiguration(SqlSourceFile source,
String yaml,
Map<String,List<Integer>> parameterIndices,
int statementInFile) |
Copyright © 2016–2017. All rights reserved.