public class ObjectOrColumnPsPartBuilder extends Object implements ObjectPsPartBuilder
Constructor and Description |
---|
ObjectOrColumnPsPartBuilder() |
Modifier and Type | Method and Description |
---|---|
PreparedStatementPart |
buildPs(Object toBuildFrom,
boolean ignoreCase,
Query query,
Adapter adapter)
Builds a PreparedStatementPart from a column or single value.
|
public PreparedStatementPart buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter) throws TorqueException
buildPs
in interface ObjectPsPartBuilder
toBuildFrom
- the object to build the psPart from.ignoreCase
- If true and columns represent Strings, the appropriate
function defined for the database will be used to ignore
differences in case.query
- the query which is currently builtadapter
- The adapter for the database for which the SQL
should be created, not null.TorqueException
- when rendering fails.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.