Class Prefixes

    • Field Detail

      • dftGraphPrefixSet

        public static final java.lang.String dftGraphPrefixSet
        Special name for default graph prefixes. This is different to the datasetPrefixSet. Only used by (TDB1) GraphTxnTDB_Prefixes and (TDB2) GraphViewSwitchable_Prefixes which have separated dataset/default graph prefixes. For legacy migration reasons, TDB1 uses "" and TDB2 uses defaultGraphNodeGenerated for the dataset prefix set. See TDB1 ) TDB2 StoragePrefixesView
        See Also:
        Constant Field Values
      • datasetPrefixSet

        public static final java.lang.String datasetPrefixSet
        Name for dataset-wide prefixes.
        See Also:
        Constant Field Values
      • nodeDefaultGraph

        public static Node nodeDefaultGraph
        Name assigned to the default graph.
      • nodeDataset

        public static Node nodeDataset
        Name for dataset prefixes.
    • Constructor Detail

      • Prefixes

        public Prefixes()
    • Method Detail

      • prefix

        public static java.lang.String prefix​(java.lang.String prefix)
        Canonical prefix - remove a trailing ":". The return is not null.
      • findByURI

        public static java.lang.String findByURI​(PrefixMap pmap,
                                                 java.lang.String uriStr)
        Reverse lookup of URI to a prefix. General implementation by scanning the PrefixMap. Returns a prefix if found or null. If several prefixes for the same URI, returns one at random.
      • toString

        public static java.lang.String toString​(PrefixMap prefixMap)
        Calculate a printable multi-line string.