Interface SearchCriteriaPropertyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchCriteriaProperty, SearchCriteriaProperty.Builder

@Generated public interface SearchCriteriaPropertyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getMappedFields(int index)
    Each mapped_field corresponds to a UGA key.
    com.google.protobuf.ByteString
    Each mapped_field corresponds to a UGA key.
    int
    Each mapped_field corresponds to a UGA key.
    Each mapped_field corresponds to a UGA key.

    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

    • getMappedFieldsList

      List<String> getMappedFieldsList()
       Each mapped_field corresponds to a UGA key. To understand how this property
       works, take the following example. In the SearchConfig table, the
       user adds this entry:
       search_config {
       name: "person"
       search_criteria_property {
       mapped_fields: "player"
       mapped_fields: "coach"
       }
       }
      
       Now, when a user issues a query like:
       criteria {
       field: "person"
       text_array {
       txt_values: "Tom Brady"
       txt_values: "Bill Belichick"
       }
       }
      
       MWH search will return search documents where (player=Tom Brady ||
       coach=Tom Brady || player=Bill Belichick || coach=Bill Belichick).
       
      repeated string mapped_fields = 1;
      Returns:
      A list containing the mappedFields.
    • getMappedFieldsCount

      int getMappedFieldsCount()
       Each mapped_field corresponds to a UGA key. To understand how this property
       works, take the following example. In the SearchConfig table, the
       user adds this entry:
       search_config {
       name: "person"
       search_criteria_property {
       mapped_fields: "player"
       mapped_fields: "coach"
       }
       }
      
       Now, when a user issues a query like:
       criteria {
       field: "person"
       text_array {
       txt_values: "Tom Brady"
       txt_values: "Bill Belichick"
       }
       }
      
       MWH search will return search documents where (player=Tom Brady ||
       coach=Tom Brady || player=Bill Belichick || coach=Bill Belichick).
       
      repeated string mapped_fields = 1;
      Returns:
      The count of mappedFields.
    • getMappedFields

      String getMappedFields(int index)
       Each mapped_field corresponds to a UGA key. To understand how this property
       works, take the following example. In the SearchConfig table, the
       user adds this entry:
       search_config {
       name: "person"
       search_criteria_property {
       mapped_fields: "player"
       mapped_fields: "coach"
       }
       }
      
       Now, when a user issues a query like:
       criteria {
       field: "person"
       text_array {
       txt_values: "Tom Brady"
       txt_values: "Bill Belichick"
       }
       }
      
       MWH search will return search documents where (player=Tom Brady ||
       coach=Tom Brady || player=Bill Belichick || coach=Bill Belichick).
       
      repeated string mapped_fields = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The mappedFields at the given index.
    • getMappedFieldsBytes

      com.google.protobuf.ByteString getMappedFieldsBytes(int index)
       Each mapped_field corresponds to a UGA key. To understand how this property
       works, take the following example. In the SearchConfig table, the
       user adds this entry:
       search_config {
       name: "person"
       search_criteria_property {
       mapped_fields: "player"
       mapped_fields: "coach"
       }
       }
      
       Now, when a user issues a query like:
       criteria {
       field: "person"
       text_array {
       txt_values: "Tom Brady"
       txt_values: "Bill Belichick"
       }
       }
      
       MWH search will return search documents where (player=Tom Brady ||
       coach=Tom Brady || player=Bill Belichick || coach=Bill Belichick).
       
      repeated string mapped_fields = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the mappedFields at the given index.