Пример #1
0
 public static Pair <long, long[]> GetDynamicLabelsArrayAndOwner(IEnumerable <DynamicRecord> records, AbstractDynamicStore dynamicLabelStore)
 {
     long[] storedLongs = ( long[] )DynamicArrayStore.GetRightArray(dynamicLabelStore.ReadFullByteArray(records, PropertyType.Array)).asObject();
     return(Pair.of(storedLongs[0], LabelIdArray.StripNodeId(storedLongs)));
 }
Пример #2
0
 public static long[] GetDynamicLabelsArrayFromHeavyRecords(IEnumerable <DynamicRecord> records)
 {
     long[] storedLongs = ( long[] )DynamicArrayStore.GetRightArray(readFullByteArrayFromHeavyRecords(records, PropertyType.Array)).asObject();
     return(LabelIdArray.StripNodeId(storedLongs));
 }