public class SqlAnalyzer extends Object
| Constructor and Description |
|---|
SqlAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Elements elementUtils,
SQLiteModelMethod method,
String sqlStatement)
Extract from value string every placeholder ${}, replace it with ? and then convert every field typeName with column typeName.
|
List<String> |
getParamGetters() |
List<String> |
getParamNames() |
List<com.squareup.javapoet.TypeName> |
getParamTypeNames() |
String |
getSQLStatement() |
String |
getter(ModelProperty property) |
List<String> |
getUsedBeanPropertyNames() |
Set<String> |
getUsedMethodParameters() |
String |
setter(ModelProperty property) |
public List<com.squareup.javapoet.TypeName> getParamTypeNames()
public Set<String> getUsedMethodParameters()
public void execute(Elements elementUtils, SQLiteModelMethod method, String sqlStatement)
public List<String> getUsedBeanPropertyNames()
public String getter(ModelProperty property)
public String setter(ModelProperty property)
public String getSQLStatement()
Copyright © 2017. All rights reserved.