Interface JoinComponent

  • All Known Implementing Classes:
    DelegateJoinComponent

    public interface JoinComponent
    a JoinComponent can be used to create builders for creating Join objects. Join objects, in turn, can be used to stream over joined tables.

    It is unspecified if objects returned by builder-type of objects return itself or a new builder. Users should make no assumption of either case and use a fluent API style of programming.

    All methods that takes objects will throw a NullPointerException if provided with one or several null values.

    Intermediate builder methods are not thread safe.

    Currently, this component can build joins of grade 2, 3, 4, 5, 6, 7, 8, 9 or 10.

    Since:
    3.1.0
    Author:
    Per Minborg
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T0> JoinBuilder1<T0> from​(com.speedment.runtime.config.identifier.TableIdentifier<T0> firstTableIdentifier)
      Adds a provided firstTableIdentifier to the collection of joined managers.
    • Method Detail

      • from

        <T0> JoinBuilder1<T0> from​(com.speedment.runtime.config.identifier.TableIdentifier<T0> firstTableIdentifier)
        Adds a provided firstTableIdentifier to the collection of joined managers. Rows are joined from the provided firstTableIdentifier depending on how subsequent managers are added to the builder.
        Type Parameters:
        T0 - type of entities for the first manager
        Parameters:
        firstTableIdentifier - to use
        Returns:
        a builder where the provided firstTableIdentifier is added
        Throws:
        NullPointerException - if the provided firstTableIdentifier is null