org.apache.torque.sql.objectbuilder

## Interface ObjectPsPartBuilder

- All Known Implementing Classes:
    ObjectOrColumnPsPartBuilder

      public interface ObjectPsPartBuilder

  Builds a PreparedStatementPart from a single object (e.g. a column or a SQL value).
  Version:
    $Id: ObjectPsPartBuilder.java 1839288 2018-08-27 09:48:33Z tv $

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `PreparedStatementPart` | `buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter)` Builds a PreparedStatementPart from a single Object.

- - ### Method Detail

    - #### buildPs

          PreparedStatementPart buildPs(Object toBuildFrom,
                                        boolean ignoreCase,
                                        Query query,
                                        Adapter adapter)
                                 throws TorqueException

      Builds a PreparedStatementPart from a single Object.
      Parameters:
        `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 built
        `adapter` - The adapter for the database for which the SQL should be created, not null.
      Returns:
        the PreparedStatementPart for the object.
      Throws:
        `TorqueException` - when rendering fails.

Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.