java.lang.Object
com.github.tadukoo.database.mysql.syntax.conditional.EqualsStatement

public class EqualsStatement extends Object
EqualsStatement represents a simple MySQL equals statement
Version:
Alpha v.0.3
Author:
Logan Ferree (Tadukoo)
  • Field Details

    • column

      private final ColumnRef column
      The column of the statement
    • value

      private final Object value
      The value of the statement
  • Constructor Details

    • EqualsStatement

      public EqualsStatement(ColumnRef column, Object value)
      Constructs a new EqualsStatement using the given parameters
      Parameters:
      column - The column of the statement
      value - The value of the statement
  • Method Details

    • getColumn

      public ColumnRef getColumn()
      Returns:
      The column of the statement
    • getValue

      public Object getValue()
      Returns:
      The value of the statement
    • toString

      public String toString()
      Overrides:
      toString in class Object