Interface GridCacheSqlMetadata

    • Method Detail

      • cacheName

        String cacheName()
        Cache name.
        Returns:
        Cache name.
      • types

        Collection<String> types()
        Gets the collection of types stored in cache.

        By default, type name is equal to simple class name of stored object, but it can depend on implementation of IndexingSpi.

        Returns:
        Collection of available types.
      • keyClass

        @Nullable
        @Nullable String keyClass​(String type)
        Gets key class name for provided type.

        Use types() method to get available types.

        Parameters:
        type - Type name.
        Returns:
        Key class name or null if type name is unknown.
      • valueClass

        @Nullable
        @Nullable String valueClass​(String type)
        Gets value class name for provided type.

        Use types() method to get available types.

        Parameters:
        type - Type name.
        Returns:
        Value class name or null if type name is unknown.
      • fields

        @Nullable
        @Nullable Map<String,​String> fields​(String type)
        Gets fields and their class names for provided type.
        Parameters:
        type - Type name.
        Returns:
        Fields map or null if type name is unknown.
      • notNullFields

        Collection<String> notNullFields​(String type)
        Gets not null fields.
        Parameters:
        type - Type name.
        Returns:
        Not null fields collection map or null if type name is unknown.