Class IndexInfo.IndexCommand

java.lang.Object
com.yahoo.schema.derived.IndexInfo.IndexCommand
Enclosing class:
IndexInfo

public static class IndexInfo.IndexCommand extends Object
An index command. Null commands are also represented, to detect consistency issues. This is an (immutable) value object.
  • Constructor Details

    • IndexCommand

      public IndexCommand(String index, String command)
  • Method Details

    • getIndex

      public String getIndex()
    • getCommand

      public String getCommand()
    • isNull

      public boolean isNull()
      Returns true if this is the null command (do nothing)
    • hashCode

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

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object