Class FloatAssociationFacetField

    • Constructor Detail

      • FloatAssociationFacetField

        public FloatAssociationFacetField​(float assoc,
                                          java.lang.String dim,
                                          java.lang.String... path)
        Creates this from dim and path and a float association
    • Method Detail

      • floatToBytesRef

        public static BytesRef floatToBytesRef​(float v)
        Encodes a float as a 4-byte BytesRef.
      • bytesRefToFloat

        public static float bytesRefToFloat​(BytesRef b)
        Decodes a previously encoded float.
      • toString

        public java.lang.String toString()
        Description copied from class: Field
        Prints a Field for human consumption.
        Overrides:
        toString in class AssociationFacetField