Class DatasetGraphZero

All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable, DatasetGraph, Transactional

public class DatasetGraphZero extends DatasetGraphNull
An always empty DatasetGraph. One graph (the default graph) with zero triples. No changes allowed - this is not a sink.

This class of DatasetGraph does track transaction state.

It does have a mutable Context.

See Also:
  • Method Details

    • create

      public static DatasetGraph create()
      Invariant DatasetGraph; it does have transaction state so create new object here.
    • prefixes

      public PrefixMap prefixes()
      Description copied from interface: DatasetGraph
      Prefixes for this DatasetGraph