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))); }
public static long[] GetDynamicLabelsArrayFromHeavyRecords(IEnumerable <DynamicRecord> records) { long[] storedLongs = ( long[] )DynamicArrayStore.GetRightArray(readFullByteArrayFromHeavyRecords(records, PropertyType.Array)).asObject(); return(LabelIdArray.StripNodeId(storedLongs)); }