Package io.inversion

Class Index

java.lang.Object
io.inversion.Index
All Implemented Interfaces:
Serializable

public class Index extends Object implements Serializable
See Also:
  • Field Details

    • properties

      protected final List<Property> properties
    • collection

      protected Collection collection
    • name

      protected String name
    • type

      protected String type
    • unique

      protected boolean unique
  • Constructor Details

    • Index

      public Index()
    • Index

      public Index(String name, String type, boolean unique, Property... properties)
  • Method Details

    • equals

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

      public String toString()
      Overrides:
      toString in class Object
    • isExclude

      public boolean isExclude()
    • getCollection

      public Collection getCollection()
    • withCollection

      public Index withCollection(Collection coll)
    • getName

      public String getName()
    • withName

      public Index withName(String name)
    • getType

      public String getType()
    • withType

      public Index withType(String type)
    • isType

      public boolean isType(String... types)
    • isUnique

      public boolean isUnique()
    • withUnique

      public Index withUnique(boolean unique)
    • withProperties

      public Index withProperties(Property... properties)
    • getProperties

      public List<Property> getProperties()
    • getProperty

      public Property getProperty(int idx)
    • size

      public int size()
    • getPropertyName

      public String getPropertyName(int index)
    • getColumnName

      public String getColumnName(int index)
    • getJsonNames

      public List<String> getJsonNames()
    • getColumnNames

      public List<String> getColumnNames()