Interface FieldTypeLookup

All Known Implementing Classes:
MongoFieldTypeLookup

public interface FieldTypeLookup
Interface for field type lookups.
  • Method Details

    • get

      Optional<FieldTypes> get(String fieldName)
      Returns the FieldTypes object for the given message field name.
      Parameters:
      fieldName - name of the field to get the type for
      Returns:
      field type object
    • get

      Map<String,FieldTypes> get(Collection<String> fieldNames)
      Returns a map of field names to FieldTypes objects.
      Parameters:
      fieldNames - a collection of field names to get the types for
      Returns:
      map of field names to field type objects
    • get

      Map<String,FieldTypes> get(Collection<String> fieldNames, Collection<String> indexNames)
      Returns a map of field names to the corresponding field types.
      Parameters:
      fieldNames - a collection of field names to get the types for
      indexNames - a collection of index names to filter the results
      Returns:
      map of field names to field type objects