public AbstractBTreeCollection(int size, NeoDatis.Odb.Core.OrderByConstants orderByType ) { // TODO compute degree best value for the size value tree = BuildTree(NeoDatis.Odb.OdbConfiguration.GetDefaultIndexBTreeDegree()); this.orderByType = orderByType; }
/// <param name="tree"></param> /// <param name="orderByType"></param> /// <param name="storageEngine"></param> /// <param name="returnObjects"></param> public LazyODBBTreeIteratorMultiple(NeoDatis.Btree.IBTree tree, NeoDatis.Odb.Core.OrderByConstants orderByType, NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine storageEngine, bool returnObjects) : base(tree, orderByType) { this.storageEngine = storageEngine; this.returnObjects = returnObjects; }
public MultiFieldComparator(string[] names, NeoDatis.Odb.Core.OrderByConstants orderByType ) { this.fieldNames = names; map = new System.Collections.Hashtable(); this.way = orderByType.IsOrderByAsc() ? 1 : -1; this.classIntrospector = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClassIntrospector (); }
public AbstractBTreeIterator(NeoDatis.Btree.IBTree tree, NeoDatis.Odb.Core.OrderByConstants orderByType) { this.btree = tree; this.currentNode = tree.GetRoot(); this.orderByType = orderByType; if (orderByType.IsOrderByDesc()) { this.currentKeyIndex = currentNode.GetNbKeys(); } else { this.currentKeyIndex = 0; } }
public virtual NeoDatis.Odb.Core.Query.IQuery OrderByAsc(string fields) { orderByType = NeoDatis.Odb.Core.OrderByConstants.OrderByAsc; orderByFields = NeoDatis.Tool.Wrappers.OdbString.Split(fields, ","); return(this); }
public AbstractQuery() { orderByType = NeoDatis.Odb.Core.OrderByConstants.OrderByNone; polymorphic = false; }
public virtual System.Collections.Generic.IEnumerator <T> Iterator(NeoDatis.Odb.Core.OrderByConstants orderByType) { throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.OperationNotImplemented ); }
public virtual void SetOrderByType(NeoDatis.Odb.Core.OrderByConstants orderByType ) { this.orderByType = orderByType; }
public virtual NeoDatis.Odb.Core.Query.IQuery OrderByAsc(string fields) { orderByType = NeoDatis.Odb.Core.OrderByConstants.OrderByAsc; orderByFields = NeoDatis.Tool.Wrappers.OdbString.Tokenize(fields, ", "); return this; }
public AbstactQuery() { orderByType = NeoDatis.Odb.Core.OrderByConstants.OrderByNone; polymorphic = false; }
public BTreeIteratorSingleValuePerKey(NeoDatis.Btree.IBTree tree, NeoDatis.Odb.Core.OrderByConstants orderByType) : base(tree, orderByType) { }
/// <param name="tree"></param> /// <param name="orderByType"></param> public BTreeIteratorMultipleValuesPerKey(NeoDatis.Btree.IBTree tree, NeoDatis.Odb.Core.OrderByConstants orderByType) : base(tree, orderByType) { currenListIndex = 0; currentValue = null; }
public override System.Collections.Generic.IEnumerator <T> Iterator(NeoDatis.Odb.Core.OrderByConstants orderByType) { return((System.Collections.Generic.IEnumerator <T>) new LazyODBBTreeIteratorMultiple <T>(GetTree(), orderByType, storageEngine, returnObjects)); }
public LazyBTreeCollection(int size, NeoDatis.Odb.Core.OrderByConstants orderByType ) : base(size, orderByType) { }
public abstract System.Collections.IEnumerator Iterator <T>(NeoDatis.Odb.Core.OrderByConstants arg1);
System.Collections.IEnumerator IBTree.Iterator <T>(NeoDatis.Odb.Core.OrderByConstants orderBy) { throw new NotImplementedException(); }
/// <summary>The orderByType in not supported by this kind of list</summary> public virtual System.Collections.Generic.IEnumerator <E> Iterator(NeoDatis.Odb.Core.OrderByConstants orderByType) { return(GetEnumerator()); }
public InMemoryBTreeCollectionForValues(int size, NeoDatis.Odb.Core.OrderByConstants orderByType) : base(size, orderByType) { }
public override System.Collections.IEnumerator Iterator <T>(NeoDatis.Odb.Core.OrderByConstants orderBy) { return(new NeoDatis.Btree.BTreeIteratorMultipleValuesPerKey <T>(this, orderBy)); }
public virtual System.Collections.Generic.IEnumerator <E> Iterator(NeoDatis.Odb.Core.OrderByConstants newOrderByType) { return((System.Collections.Generic.IEnumerator <E>)tree.Iterator <E>(newOrderByType)); }