Interface CottontailGrpc.DoubleVectorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CottontailGrpc.DoubleVector, CottontailGrpc.DoubleVector.Builder
Enclosing class:
CottontailGrpc

public static interface CottontailGrpc.DoubleVectorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getVector(int index)
    repeated double vector = 1;
    int
    repeated double vector = 1;
    repeated double vector = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getVectorList

      List<Double> getVectorList()
      repeated double vector = 1;
      Returns:
      A list containing the vector.
    • getVectorCount

      int getVectorCount()
      repeated double vector = 1;
      Returns:
      The count of vector.
    • getVector

      double getVector(int index)
      repeated double vector = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The vector at the given index.