Class CollectionMapping.Builder

  • Enclosing class:
    CollectionMapping

    public static class CollectionMapping.Builder
    extends java.lang.Object
    Builder for CollectionMapping
    • Constructor Detail

      • Builder

        public Builder​(@Nonnull
                       java.lang.String collectionName,
                       long dimension)
        Parameters:
        collectionName - collection name
        dimension - vector dimension
    • Method Detail

      • withIndexFileSize

        public CollectionMapping.Builder withIndexFileSize​(long indexFileSize)
        Optional. Default to 1024 MB.
        Parameters:
        indexFileSize - in megabytes.
        Returns:
        Builder