public class MathOperationFunction<T> extends Object implements ComparableFunction<T>
Constructor and Description |
---|
MathOperationFunction(TorpedoProxy proxy,
Selector<T> leftOperand,
String operator,
Selector<T> rightOperand)
Constructor for MathOperationFunction.
|
Modifier and Type | Method and Description |
---|---|
String |
createQueryFragment(AtomicInteger incrementor)
createQueryFragment.
|
Parameter<T> |
generateParameter(T value)
generateParameter.
|
Object |
getProxy()
getProxy.
|
public MathOperationFunction(TorpedoProxy proxy, Selector<T> leftOperand, String operator, Selector<T> rightOperand)
Constructor for MathOperationFunction.
proxy
- a TorpedoProxy
object.leftOperand
- a Selector
object.operator
- a String
object.rightOperand
- a Selector
object.public String createQueryFragment(AtomicInteger incrementor)
createQueryFragment.
createQueryFragment
in interface Selector<T>
incrementor
- a AtomicInteger
object.String
object.public Parameter<T> generateParameter(T value)
generateParameter.
generateParameter
in interface Selector<T>
value
- a T object.Parameter
object.Copyright © 2011–2019. All rights reserved.