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)); }
public static long[] Get(NodeRecord node, NodeStore nodeStore) { return(FieldPointsToDynamicRecordOfLabels(node.LabelField) ? DynamicNodeLabels.Get(node, nodeStore) : InlineNodeLabels.Get(node)); }