Module io.ebean.api
Package io.ebean

Interface InTuples

All Known Subinterfaces:
SpiInTuples

public interface InTuples
IN expression using multiple columns.

Currently this is not supported with SQLServer or DB2.

Produces SQL expression in the form of (A,B,C) IN ((a0,b0,c0), (a1,b1,c1), ... ) where A,B,C are the properties in the tuples.

  • Method Summary

    Modifier and Type
    Method
    Description
    add(Object... values)
    Add a tuple entry.
    static InTuples
    of(Query.Property<?>... properties)
    Create given the properties in the tuples.
    static InTuples
    of(String... properties)
    Create given the properties in the tuples.
  • Method Details

    • of

      static InTuples of(String... properties)
      Create given the properties in the tuples.
    • of

      static InTuples of(Query.Property<?>... properties)
      Create given the properties in the tuples.
    • add

      InTuples add(Object... values)
      Add a tuple entry. All values must be non-null.