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.
  • 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, String nodeName)
      Constructor.
  • 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
    • destroyMapAsync

      public CompletableFuture<Void> destroyMapAsync(String name)
      Specified by:
      destroyMapAsync in interface org.gridgain.structure.IgniteStructures
    • destroyMap

      public void destroyMap(String name)
      Specified by:
      destroyMap in interface org.gridgain.structure.IgniteStructures