Example #1
0
        public static ICollection <DynamicRecord> PutSorted(NodeRecord node, long[] labelIds, NodeStore nodeStore, DynamicRecordAllocator allocator)
        {
            if (TryInlineInNodeRecord(node, labelIds, node.DynamicLabelRecords))
            {
                return(Collections.emptyList());
            }

            return(DynamicNodeLabels.PutSorted(node, labelIds, nodeStore, allocator));
        }
Example #2
0
 public static long[] Get(NodeRecord node, NodeStore nodeStore)
 {
     return(FieldPointsToDynamicRecordOfLabels(node.LabelField) ? DynamicNodeLabels.Get(node, nodeStore) : InlineNodeLabels.Get(node));
 }