Class JpaPidValueTuples

java.lang.Object
com.healthmarketscience.common.util.AppendeeObject
com.healthmarketscience.sqlbuilder.SqlObject
com.healthmarketscience.sqlbuilder.Expression
ca.uhn.fhir.jpa.search.builder.sql.JpaPidValueTuples
All Implemented Interfaces:
com.healthmarketscience.common.util.Appendee

public class JpaPidValueTuples extends com.healthmarketscience.sqlbuilder.Expression
Outputs an SQL tuple for a collection of JpaPids, consisting of ((resId,partitionId),(resId,partitionId),(resId,partitionId),...)
  • Field Summary

    Fields inherited from class com.healthmarketscience.sqlbuilder.Expression

    EMPTY

    Fields inherited from class com.healthmarketscience.sqlbuilder.SqlObject

    ALL_SYMBOL, NULL_VALUE, QUESTION_MARK
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    appendCustomIfNotNull(com.healthmarketscience.common.util.AppendableExt arg0, com.healthmarketscience.sqlbuilder.SqlObject arg1)
     
    protected void
    appendNestedClauses(com.healthmarketscience.common.util.AppendableExt arg0, com.healthmarketscience.sqlbuilder.SqlObjectList<? extends com.healthmarketscience.sqlbuilder.NestableClause> arg1)
     
    void
    appendTo(com.healthmarketscience.common.util.AppendableExt app)
     
    protected static boolean
    areEmpty(com.healthmarketscience.sqlbuilder.SqlObjectList<? extends com.healthmarketscience.sqlbuilder.NestableClause> arg0)
     
    protected void
    closeParen(com.healthmarketscience.common.util.AppendableExt arg0)
     
    protected void
    collectSchemaObjects(com.healthmarketscience.sqlbuilder.ValidationContext vContext)
     
    from(SearchQueryBuilder theSearchQueryBuilder, JpaPid[] thePids)
     
    from(SearchQueryBuilder theSearchQueryBuilder, Collection<JpaPid> thePids)
     
    boolean
     
    protected static boolean
    hasParens(com.healthmarketscience.sqlbuilder.SqlObjectList<? extends com.healthmarketscience.sqlbuilder.NestableClause> arg0)
     
    boolean
     
    boolean
     
    protected void
    openParen(com.healthmarketscience.common.util.AppendableExt arg0)
     

    Methods inherited from class com.healthmarketscience.sqlbuilder.Expression

    setDisableParens

    Methods inherited from class com.healthmarketscience.sqlbuilder.SqlObject

    collectSchemaObjects, doValidate, toString

    Methods inherited from class com.healthmarketscience.common.util.AppendeeObject

    toString, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • collectSchemaObjects

      protected void collectSchemaObjects(com.healthmarketscience.sqlbuilder.ValidationContext vContext)
      Specified by:
      collectSchemaObjects in class com.healthmarketscience.sqlbuilder.SqlObject
    • appendTo

      public void appendTo(com.healthmarketscience.common.util.AppendableExt app) throws IOException
      Specified by:
      appendTo in interface com.healthmarketscience.common.util.Appendee
      Overrides:
      appendTo in class com.healthmarketscience.common.util.AppendeeObject
      Throws:
      IOException
    • from

      public static JpaPidValueTuples from(SearchQueryBuilder theSearchQueryBuilder, JpaPid[] thePids)
    • from

      public static JpaPidValueTuples from(SearchQueryBuilder theSearchQueryBuilder, Collection<JpaPid> thePids)
    • isDisableParens

      public boolean isDisableParens()
    • isEmpty

      public boolean isEmpty()
    • hasParens

      public boolean hasParens()
    • areEmpty

      protected static boolean areEmpty(com.healthmarketscience.sqlbuilder.SqlObjectList<? extends com.healthmarketscience.sqlbuilder.NestableClause> arg0)
    • hasParens

      protected static boolean hasParens(com.healthmarketscience.sqlbuilder.SqlObjectList<? extends com.healthmarketscience.sqlbuilder.NestableClause> arg0)
    • openParen

      protected void openParen(com.healthmarketscience.common.util.AppendableExt arg0) throws IOException
      Throws:
      IOException
    • closeParen

      protected void closeParen(com.healthmarketscience.common.util.AppendableExt arg0) throws IOException
      Throws:
      IOException
    • appendCustomIfNotNull

      protected void appendCustomIfNotNull(com.healthmarketscience.common.util.AppendableExt arg0, com.healthmarketscience.sqlbuilder.SqlObject arg1) throws IOException
      Throws:
      IOException
    • appendNestedClauses

      protected void appendNestedClauses(com.healthmarketscience.common.util.AppendableExt arg0, com.healthmarketscience.sqlbuilder.SqlObjectList<? extends com.healthmarketscience.sqlbuilder.NestableClause> arg1) throws IOException
      Throws:
      IOException