| 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.generator.utils |
Utilities for code generation.
|
| 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 |
|---|---|
Iterable<com.squareup.javapoet.FieldSpec> |
RepositoryFieldGenerator.asFields(List<SqlStatement> statements) |
Iterable<com.squareup.javapoet.MethodSpec> |
AbstractMethodsGenerator.asMethods(List<SqlStatement> sqlStatementsInRepository) |
Iterable<com.squareup.javapoet.MethodSpec> |
MethodsGenerator.asMethods(List<SqlStatement> sqlStatementsInRepository) |
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) |
protected abstract com.squareup.javapoet.MethodSpec |
AbstractMethodsGenerator.constructor(List<SqlStatement> sqlStatementsInRepository) |
void |
RepositoryGenerator.generateRepository(String repositoryName,
List<SqlStatement> statements)
Generates a single repository.
|
void |
UtilitiesGenerator.generateUtilities(List<SqlStatement> allStatements) |
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.CodeBlock |
RepositoryFieldGenerator.staticInitializer(List<SqlStatement> statements) |
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 |
|---|---|
com.squareup.javapoet.CodeBlock |
TypicalCodeBlocks.pickVendorQuery(List<SqlStatement> sqlStatements) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<com.squareup.javapoet.FieldSpec> |
RawJdbcRepositoryFieldGenerator.asFields(List<SqlStatement> statementsInRepository) |
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) |
protected com.squareup.javapoet.MethodSpec |
RawJdbcMethodGenerator.constructor(List<SqlStatement> sqlStatementsInRepository) |
void |
RawJdbcRepositoryGenerator.generateRepository(String repositoryName,
List<SqlStatement> sqlStatements) |
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.CodeBlock |
RawJdbcRepositoryFieldGenerator.staticInitializer(List<SqlStatement> statements) |
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 |
|---|---|
void |
DefaultUtilitiesGenerator.generateUtilities(List<SqlStatement> allStatements) |
| Modifier and Type | Method and Description |
|---|---|
static Collector<SqlStatement,?,Map<String,List<SqlStatement>>> |
SqlStatement.groupByName() |
static Collector<SqlStatement,?,Map<String,List<SqlStatement>>> |
SqlStatement.groupByName() |
| Modifier and Type | Method and Description |
|---|---|
void |
SqlConfiguration.merge(SqlStatement statement) |
| Modifier and Type | Method and Description |
|---|---|
static SqlConfiguration |
SqlConfiguration.merge(List<SqlStatement> statements) |
| Modifier and Type | Method and Description |
|---|---|
Stream<SqlStatement> |
SqlFileParser.parse(SqlSourceFile source) |
Copyright © 2016–2017. All rights reserved.