Package com.landawn.abacus.util
Class ParsedSql
java.lang.Object
com.landawn.abacus.util.ParsedSql
-
Method Summary
Modifier and TypeMethodDescriptionboolean
com.landawn.abacus.util.ImmutableList<String>
Gets the named parameters.com.landawn.abacus.util.ImmutableList<String>
getNamedParameters
(boolean isForCouchbase) Gets the named parameters.int
Gets the parameter count.int
getParameterCount
(boolean isForCouchbase) Gets the parameter count.Gets the parameterized SQL.getParameterizedSql
(boolean isForCouchbase) Gets the parameterized SQL.int
hashCode()
static ParsedSql
sql()
Gets the named SQL.toString()
-
Method Details
-
parse
- Parameters:
sql
-- Returns:
-
sql
Gets the named SQL.- Returns:
-
getParameterizedSql
Gets the parameterized SQL.- Returns:
-
getParameterizedSql
Gets the parameterized SQL.- Parameters:
isForCouchbase
-- Returns:
-
getNamedParameters
Gets the named parameters.- Returns:
-
getNamedParameters
Gets the named parameters.- Parameters:
isForCouchbase
-- Returns:
-
getParameterCount
public int getParameterCount()Gets the parameter count.- Returns:
-
getParameterCount
public int getParameterCount(boolean isForCouchbase) Gets the parameter count.- Parameters:
isForCouchbase
-- Returns:
-
hashCode
public int hashCode() -
equals
-
toString
-