Class Join

All Implemented Interfaces:
Condition, Cloneable
Direct Known Subclasses:
CrossJoin, FullJoin, InnerJoin, LeftJoin, NaturalJoin, RightJoin

public class Join extends AbstractCondition
Since:
0.8
Author:
Haiyang Li
  • Constructor Details

    • Join

      public Join(String joinEntity)
      Parameters:
      joinEntity -
    • Join

      public Join(String joinEntity, Condition condition)
      Parameters:
      joinEntity -
      condition -
    • Join

      public Join(Collection<String> joinEntities, Condition condition)
      Parameters:
      joinEntities -
      condition -
  • Method Details

    • getJoinEntities

      public List<String> getJoinEntities()
      Gets the join entities.
      Returns:
    • getCondition

      public <T extends Condition> T getCondition()
      Gets the condition.
      Type Parameters:
      T -
      Returns:
    • getParameters

      public List<Object> getParameters()
      Gets the parameters.
      Returns:
    • clearParameters

      public void clearParameters()
      Clear parameters.
    • copy

      public <T extends Condition> T copy()
      Specified by:
      copy in interface Condition
      Overrides:
      copy in class AbstractCondition
      Type Parameters:
      T -
      Returns:
    • toString

      public String toString(com.landawn.abacus.util.NamingPolicy namingPolicy)
      Parameters:
      namingPolicy -
      Returns:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Returns:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      Parameters:
      obj -
      Returns:
      true, if successful