public class SqlConfiguration extends Object
| Constructor and Description |
|---|
SqlConfiguration() |
public Iterable<com.squareup.javapoet.ParameterSpec> getParameterSpecs()
public Iterable<com.squareup.javapoet.ParameterSpec> getBatchParameterSpecs()
public String getFlowableName()
public String getBatchName()
public String getStreamLazyName()
public String getStreamEagerName()
public String getName()
public void setName(String name)
public boolean isMethodStandardApi()
public void setMethodStandardApi(boolean methodStandardApi)
methodStandardApi - the methodStandardApi to setpublic boolean isMethodBatchApi()
public void setMethodBatchApi(boolean methodBatchApi)
public String getMethodBatchPrefix()
public void setMethodBatchPrefix(String methodBatchPrefix)
public String getMethodBatchSuffix()
public void setMethodBatchSuffix(String methodBatchSuffix)
methodBatchSuffix - the method batch suffix to setpublic String getMethodReactivePrefix()
public void setMethodReactivePrefix(String methodRxJavaPrefix)
methodRxJavaPrefix - the methodRxJavaPrefix to setpublic String getMethodReactiveSuffix()
public void setMethodReactiveSuffix(String methodRxJavaSuffix)
methodRxJavaSuffix - the methodRxJavaSuffix to setpublic boolean isMethodStreamEagerApi()
public void setMethodStreamEagerApi(boolean methodStreamEagerApi)
methodStreamEagerApi - the methodStreamEagerApi to setpublic boolean isMethodStreamLazyApi()
public void setMethodStreamLazyApi(boolean methodStreamLazyApi)
methodStreamLazyApi - the methodStreamLazyApi to setpublic String getMethodStreamPrefix()
public void setMethodStreamPrefix(String methodStreamPrefix)
public String getMethodStreamSuffix()
public void setMethodStreamSuffix(String methodStreamSuffix)
methodStreamSuffix - the methodStreamSuffix to setpublic List<SqlParameter> getParameters()
public void setParameters(List<SqlParameter> parameters)
public ResultRowConverter getResultConverter()
public void setResultConverter(ResultRowConverter resultConverter)
public boolean hasRepository()
public String getRepository()
public void setRepository(String repository)
public String getMethodLazyName()
public void setMethodLazyName(String methodLazyName)
methodLazyName - the methodLazyName to setpublic String getMethodEagerName()
public void setMethodEagerName(String methodEagerName)
methodEagerName - the methodEagerName to setpublic boolean shouldUsePluginStandardConfig()
true if 'single' was not overwritten.public boolean shouldUsePluginBatchConfig()
true if 'generateBatchApi' was not overwritten and the plugin configuration should be used.public boolean shouldUsePluginStreamEagerConfig()
true if 'streamEager' was not overwritten.public boolean shouldUsePluginStreamLazyConfig()
true if 'streamLazy' was not overwritten.public boolean shouldUsePluginRxJavaConfig()
true if 'generateRxJavaApi' was not overwritten.public boolean hasParameters()
true if 'parameters' has at least one parameter.public SqlType getType()
public void setType(SqlType type)
type - the type to setpublic boolean isMethodRxJavaApi()
public void setMethodRxJavaApi(boolean methodRxJavaApi)
methodRxJavaApi - the methodRxJavaApi to setpublic boolean isMethodCatchAndRethrow()
public void setMethodCatchAndRethrow(boolean methodCatchAndRethrow)
methodCatchAndRethrow - the methodCatchAndRethrow to setpublic boolean shouldUsePluginCatchAndRethrowConfig()
true if 'streamLazy' was not overwritten.public String getVendor()
public void setVendor(String vendor)
vendor - the vendor to setpublic static SqlConfiguration merge(List<SqlStatement> statements)
public void merge(SqlStatement statement)
Copyright © 2016–2017. All rights reserved.