Interface UserTypeResolver

All Known Implementing Classes:
SimpleUserTypeResolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UserTypeResolver
Strategy interface to resolve UserDefinedType by name.
Since:
1.5
Author:
Mark Paluch
See Also:
  • UserDefinedType
  • CqlIdentifier
  • Method Summary

    Modifier and Type
    Method
    Description
    com.datastax.oss.driver.api.core.type.UserDefinedType
    resolveType(com.datastax.oss.driver.api.core.CqlIdentifier typeName)
    Resolve a UserDefinedType by name.
  • Method Details

    • resolveType

      @Nullable com.datastax.oss.driver.api.core.type.UserDefinedType resolveType(com.datastax.oss.driver.api.core.CqlIdentifier typeName)
      Resolve a UserDefinedType by name.
      Parameters:
      typeName - name of the UserDefinedType to resolve; must not be null.
      Returns:
      the resolved UserDefinedType or null if not found.