UnorderedSequence<T> represents a sequence field whose elements are accessed by position rather than by key range. It is used for sequence values that are aligned with another ordering sequence or that are processed directly as positional vectors.
public class UnorderedSequence<T>
{
public Sequence Project(Sequence seq);
public Sequence this[Sequence seq] { get; }
public void Append(Array items);
public void Append(Array items, int nItems);
public void Insert(ulong position, Array items);
public void Insert(ulong position, Array items, int nItems);
public void Delete(ulong from, ulong till);
public ulong Count { get; }
public Sequence Iterator { get; }
public Sequence All { get; }
public static implicit operator Sequence(UnorderedSequence<T> seq);
public Sequence Subseq(ulong from, ulong till);
public Sequence Map(Sequence positions);
public void Store(Sequence iter);
}
OrderedSequence<T>, it does not provide range search by element value; instead it is typically traversed by position or projected by another sequence iterator.[Sequence()]. In time-series schemas, unordered sequences often store values such as price, volume, or identifiers that are aligned with an ordered key sequence.T.nItems values from the supplied array.nItems values from the supplied array starting at the specified position.from through position till.Sequence iterator over the entire sequence.Sequence iterator over the entire sequence. This property is functionally equivalent to Iterator and is convenient in analytical expressions.UnorderedSequence<T> to be used where a Sequence iterator is expected. The implicit conversion yields the full-sequence iterator.Project(). It is commonly used in sequence expressions such as quote.Price[dayIterator].Sequence iterator over the inclusive positional range [from, till].Sequence containing elements selected by the positions provided in another iterator. It is typically used with position sequences produced by analytical methods such as top-position or filter-position operations.Sequence iterator back into this sequence field.Day is searched first and the result is then used to project an aligned unordered sequence such as Price or Volume.UnorderedSequence<T> itself does not implement IDisposable. The Sequence objects returned by its iterator, projection, mapping, and subsequence methods do hold native resources and should be closed or disposed when no longer needed.T indicates the logical element type stored in the sequence, for example float, uint, string, or another supported sequence element type.