Class MetadataVectorRecord

java.lang.Object
com.dtsx.astra.sdk.cassio.MetadataVectorRecord
All Implemented Interfaces:
Serializable

public class MetadataVectorRecord extends Object implements Serializable
Record for the table metadata + vector.
See Also:
  • Constructor Details

    • MetadataVectorRecord

      public MetadataVectorRecord()
      Default Constructor
    • MetadataVectorRecord

      public MetadataVectorRecord(List<Float> vector)
      Create a record with a vector.
      Parameters:
      vector - current vector.
    • MetadataVectorRecord

      public MetadataVectorRecord(String rowId, List<Float> vector)
      Create a record with a vector.
      Parameters:
      rowId - identifier for the row
      vector - current vector.
  • Method Details

    • insertStatement

      public com.datastax.oss.driver.api.core.cql.SimpleStatement insertStatement(String keyspaceName, String tableName)
      Build insert statement dynamically.
      Parameters:
      keyspaceName - keyspace name
      tableName - table bane
      Returns:
      statement