Class GridgainStructuresComponent

java.lang.Object
org.gridgain.internal.structure.GridgainStructuresComponent
All Implemented Interfaces:
org.apache.ignite.internal.lang.Debuggable, org.apache.ignite.internal.manager.IgniteComponent, org.gridgain.structure.IgniteStructures

public class GridgainStructuresComponent extends Object implements org.gridgain.structure.IgniteStructures, org.apache.ignite.internal.manager.IgniteComponent
Internal implementation of IgniteStructures.
  • Field Summary

    Fields inherited from interface org.apache.ignite.internal.lang.Debuggable

    INDENTATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    GridgainStructuresComponent(org.apache.ignite.internal.catalog.CatalogManager catalogManager, org.apache.ignite.internal.table.IgniteTablesInternal tables, org.apache.ignite.sql.IgniteSql sql, org.apache.ignite.internal.schema.SchemaManager manager, String nodeName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <K, V> org.gridgain.structure.IgniteMap<K,V>
    getOrCreateMap(String name, Class<K> keyClass, Class<V> valueClass)
     
    <K, V> org.gridgain.structure.IgniteMap<K,V>
    getOrCreateMap(String name, org.apache.ignite.marshalling.Marshaller<K,byte[]> keyMarshaller, org.apache.ignite.marshalling.Marshaller<V,byte[]> valueMarshaller)
     
    <K, V> org.gridgain.structure.IgniteMap<K,V>
    getOrCreateMap(org.gridgain.structure.MapConfiguration configuration)
     
    <K, V> CompletableFuture<org.gridgain.structure.IgniteMap<K,V>>
    getOrCreateMapAsync(String name, Class<K> keyClass, Class<V> valueClass)
     
    <K, V> CompletableFuture<org.gridgain.structure.IgniteMap<K,V>>
    getOrCreateMapAsync(String name, org.apache.ignite.marshalling.Marshaller<K,byte[]> km, org.apache.ignite.marshalling.Marshaller<V,byte[]> vm)
     
    <K, V> CompletableFuture<org.gridgain.structure.IgniteMap<K,V>>
    getOrCreateMapAsync(org.gridgain.structure.MapConfiguration configuration)
     
    startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
     
    stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.ignite.internal.lang.Debuggable

    dumpState

    Methods inherited from interface org.apache.ignite.internal.manager.IgniteComponent

    beforeNodeStop, stopAsync
  • Constructor Details

    • GridgainStructuresComponent

      public GridgainStructuresComponent(org.apache.ignite.internal.catalog.CatalogManager catalogManager, org.apache.ignite.internal.table.IgniteTablesInternal tables, org.apache.ignite.sql.IgniteSql sql, org.apache.ignite.internal.schema.SchemaManager manager, String nodeName)
  • Method Details

    • getOrCreateMapAsync

      public <K, V> CompletableFuture<org.gridgain.structure.IgniteMap<K,V>> getOrCreateMapAsync(org.gridgain.structure.MapConfiguration configuration)
      Specified by:
      getOrCreateMapAsync in interface org.gridgain.structure.IgniteStructures
    • getOrCreateMapAsync

      public <K, V> CompletableFuture<org.gridgain.structure.IgniteMap<K,V>> getOrCreateMapAsync(String name, org.apache.ignite.marshalling.Marshaller<K,byte[]> km, org.apache.ignite.marshalling.Marshaller<V,byte[]> vm)
      Specified by:
      getOrCreateMapAsync in interface org.gridgain.structure.IgniteStructures
    • getOrCreateMapAsync

      public <K, V> CompletableFuture<org.gridgain.structure.IgniteMap<K,V>> getOrCreateMapAsync(String name, Class<K> keyClass, Class<V> valueClass)
      Specified by:
      getOrCreateMapAsync in interface org.gridgain.structure.IgniteStructures
    • getOrCreateMap

      public <K, V> org.gridgain.structure.IgniteMap<K,V> getOrCreateMap(org.gridgain.structure.MapConfiguration configuration)
      Specified by:
      getOrCreateMap in interface org.gridgain.structure.IgniteStructures
    • getOrCreateMap

      public <K, V> org.gridgain.structure.IgniteMap<K,V> getOrCreateMap(String name, org.apache.ignite.marshalling.Marshaller<K,byte[]> keyMarshaller, org.apache.ignite.marshalling.Marshaller<V,byte[]> valueMarshaller)
      Specified by:
      getOrCreateMap in interface org.gridgain.structure.IgniteStructures
    • getOrCreateMap

      public <K, V> org.gridgain.structure.IgniteMap<K,V> getOrCreateMap(String name, Class<K> keyClass, Class<V> valueClass)
      Specified by:
      getOrCreateMap in interface org.gridgain.structure.IgniteStructures
    • startAsync

      public CompletableFuture<Void> startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
      Specified by:
      startAsync in interface org.apache.ignite.internal.manager.IgniteComponent
    • stopAsync

      public CompletableFuture<Void> stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
      Specified by:
      stopAsync in interface org.apache.ignite.internal.manager.IgniteComponent