Class BitmapIndexOptions

    • Constructor Detail

      • BitmapIndexOptions

        public BitmapIndexOptions()
        Constructs a new bitmap index options instance with all options set to default values.
      • BitmapIndexOptions

        public BitmapIndexOptions​(BitmapIndexOptions bitmapIndexOptions)
        Constructs a new bitmap index options instance by copying the passed bitmap index options.
    • Method Detail

      • getUniqueKey

        public java.lang.String getUniqueKey()
        Returns the unique key attribute configured in this index config. Defaults to __key. The unique key attribute is used as a source of values which uniquely identify each entry being inserted into an index.
        Returns:
        the configured unique key attribute.
      • setUniqueKey

        public BitmapIndexOptions setUniqueKey​(@Nonnull
                                               java.lang.String uniqueKey)
        Sets unique key attribute in this index config.
        Parameters:
        uniqueKey - a unique key attribute to configure.
      • writeData

        public void writeData​(ObjectDataOutput out)
                       throws java.io.IOException
        Description copied from interface: DataSerializable
        Writes object fields to output stream
        Specified by:
        writeData in interface DataSerializable
        Parameters:
        out - output
        Throws:
        java.io.IOException - if an I/O error occurs. In particular, an IOException may be thrown if the output stream has been closed.
      • readData

        public void readData​(ObjectDataInput in)
                      throws java.io.IOException
        Description copied from interface: DataSerializable
        Reads fields from the input stream
        Specified by:
        readData in interface DataSerializable
        Parameters:
        in - input
        Throws:
        java.io.IOException - if an I/O error occurs. In particular, an IOException may be thrown if the input stream has been closed.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object