Class InlineIndexKeyTypeRegistry


  • public class InlineIndexKeyTypeRegistry
    extends Object
    Provide mapping for java types and IndexKeyType that supports inlining.
    • Constructor Detail

      • InlineIndexKeyTypeRegistry

        public InlineIndexKeyTypeRegistry()
    • Method Detail

      • get

        public static InlineIndexKeyType get​(IndexKeyType expType,
                                             IndexKeyTypeSettings keyTypeSettings)
        Get key type for a class. Used for user queries, where getting type from class. Type is required for cases when class doesn't have strict type relation (nulls, POJO).
        Parameters:
        expType - Expected type of a key.
      • get

        public static InlineIndexKeyType get​(IndexKey key,
                                             IndexKeyType expType,
                                             IndexKeyTypeSettings keyTypeSettings)
        Get key type for specified key. Used for user queries, where getting type from class. Type is required for cases when class doesn't have strict type relation (nulls, POJO).
        Parameters:
        key - Index key.
        expType - Expected type of a key.
        keyTypeSettings - Index key type settings.