Interface HybridMiningStrategyIT.QueryValue
- All Known Implementing Classes:
HybridMiningStrategyIT.BindQueryValue,HybridMiningStrategyIT.SqlFragmentQueryValue
- Enclosing class:
- HybridMiningStrategyIT
private static interface HybridMiningStrategyIT.QueryValue
Contract for passing different types of values that require different query bindings.
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()Return the value of the binding, can benullbooleanReturntrueif the value should be bound as a SQL fragmentCreates aHybridMiningStrategyIT.BindQueryValuethat binds the value using JDBC bind variablesCreates aHybridMiningStrategyIT.SqlFragmentQueryValuethat binds the value as an inline SQL fragment
-
Method Details
-
isSqlFragment
boolean isSqlFragment()Returntrueif the value should be bound as a SQL fragment -
getValue
Object getValue()Return the value of the binding, can benull -
ofSql
Creates aHybridMiningStrategyIT.SqlFragmentQueryValuethat binds the value as an inline SQL fragment- Parameters:
value- the value to be inlined- Returns:
- the query value
-
ofBind
Creates aHybridMiningStrategyIT.BindQueryValuethat binds the value using JDBC bind variables- Parameters:
value- the value to be bound- Returns:
- the query value
-