Class VectorStoreRecordField

    • Constructor Detail

      • VectorStoreRecordField

        public VectorStoreRecordField​(@Nonnull
                                      String name,
                                      @Nullable
                                      String storageName,
                                      @Nonnull
                                      Class<?> fieldType)
        Creates a new instance of the VectorStoreRecordField class.
        Parameters:
        name - the name of the field
        storageName - the storage name of the field
        fieldType - the field type
    • Method Detail

      • getName

        public String getName()
        Gets the name of the field.
        Returns:
        the name of the field
      • getStorageName

        public String getStorageName()
        Gets the storage name of the field.
        Returns:
        the storage name of the field
      • getEffectiveStorageName

        public String getEffectiveStorageName()
        Gets the effective storage name of the field.

        If the storage name is not set, the name of the field is returned.

        Returns:
        the effective storage name of the field
      • getFieldType

        public Class<?> getFieldType()
        Gets the field type.
        Returns:
        the field type