internal TimeSeriesImpl(Storage storage, Type blockClass, long maxBlockTimeInterval) { lookupConstructor(blockClass); this.maxBlockTimeInterval = maxBlockTimeInterval; blockClassName = ClassDescriptor.getTypeName(blockClass); index = storage.CreateIndex(typeof(long), false); }
internal AltBtreeMultiFieldIndex(Type cls, string[] fieldNames, bool unique) { this.cls = cls; #endif this.unique = unique; this.fieldNames = fieldNames; this.className = ClassDescriptor.getTypeName(cls); locateFields(); type = ClassDescriptor.FieldType.tpValue; }
internal RndBtreeFieldIndex(Type cls, String fieldName, bool unique) { this.cls = cls; #endif this.unique = unique; this.fieldName = fieldName; this.className = ClassDescriptor.getTypeName(cls); lookupField(fieldName); type = checkType(mbrType); }
public override void init(Type cls, ClassDescriptor.FieldType[] types, string[] fieldNames, bool unique, long autoincCount) { this.cls = cls; this.unique = unique; this.fieldName = fieldNames[0]; this.className = ClassDescriptor.getTypeName(cls); this.autoincCount = autoincCount; lookupField(fieldNames[0]); type = checkType(mbrType); }
public override void init(Type cls, ClassDescriptor.FieldType[] mfTypes, string[] fieldNames, bool unique, long autoincCount) { this.cls = cls; this.unique = unique; this.fieldNames = fieldNames; this.className = ClassDescriptor.getTypeName(cls); locateFields(); type = ClassDescriptor.FieldType.tpArrayOfByte; types = new ClassDescriptor.FieldType[fieldNames.Length]; for (int i = 0; i < types.Length; i++) { Type mbrType = mbr[i] is FieldInfo ? ((FieldInfo)mbr[i]).FieldType : ((PropertyInfo)mbr[i]).PropertyType; types[i] = checkType(mbrType); } }