Package 

Class SqlTarget.Placeholder

  • All Implemented Interfaces:

    
    public final class SqlTarget.Placeholder
    extends SqlTarget
                        

    Sometimes we need very flexible DSL container to hold generic value. For example, JDBC prepared statements use syntax like update table set column = ? where <condition>. Here ? is a placeholder which doesn't exist in SQL, but is used in specific context (JDBC). We need to handle it if we implement various JDBC operations on top of SQL DSL.

    This class stands for such placeholder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String value
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getValue()
      <T extends Any> T visit(SqlTargetVisitor<T> visitor)
      String toString()
      • Methods inherited from class tech.harmonysoft.oss.sql.dsl.target.SqlTarget

        replaceColumns
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait