Class CacheStarSchemaExample
- java.lang.Object
-
- org.apache.ignite.examples.datagrid.starschema.CacheStarSchemaExample
-
public class CacheStarSchemaExample extends java.lang.ObjectSnowflake Schema is a logical arrangement of data in which data is split intodimensionsandfacts. Dimensions can be referenced or joined by other dimensions or facts, however, facts are generally not referenced by other facts. You can view dimensions as your master or reference data, while facts are usually large data sets of events or other objects that continuously come into the system and may change frequently. In Ignite such architecture is supported via cross-cache queries. By storing dimensions inREPLICATEDcaches and facts in much largerPARTITIONEDcaches you can freely execute distributed joins across your whole in-memory data ignite cluster, thus querying your in memory data without any limitations.In this example we have two dimensions,
DimProductandDimStoreand one fact -FactPurchase. Queries are executed by joining dimensions and facts in various ways.Remote nodes can be started with
ExampleNodeStartupin another JVM which will start node withexamples/config/example-ignite.xmlconfiguration.
-
-
Constructor Summary
Constructors Constructor Description CacheStarSchemaExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Executes example.
-