Examples of FieldRecord


Examples of com.mobixess.jodb.core.io.ObjectDataContainer.FieldRecord

        FieldsIterator fieldsIterator = objectDataContainer.getActiveFieldsIterator();
        if(fieldsIterator == null){
            return;
        }
        BitSet processedFieldMask = new BitSet();
        FieldRecord record = objectDataContainer.getRecordCache();
        for (int i = 0; fieldsIterator.hasNext(); i++) {
            fieldsIterator.next(record, base);
            Field field = classDescriptor.getFieldForID(record._fieldID, processedFieldMask);
            if (field == null) {
                continue;
View Full Code Here

Examples of com.mobixess.jodb.core.io.ObjectDataContainer.FieldRecord

        IOBase base = session.getBase();
        FieldsIterator fieldsIterator = objectDataContainer.getActiveFieldsIterator();
        if(fieldsIterator == null){
            return;
        }
        FieldRecord record = objectDataContainer.getRecordCache();
        ClassDescriptor arrayTypeDescriptor;

        arrayTypeDescriptor = session.getDescriptorForClass(instance.getClass().getComponentType());

        if (arrayTypeDescriptor.isPrimitive()) {
View Full Code Here

Examples of com.mobixess.jodb.core.io.ObjectDataContainer.FieldRecord

    private static boolean equalToPersistentCopy(JODBOperationContext context, Object currentObject, ObjectDataContainer persistentCopyObjectDataContainer, ClassDescriptor desc , Field[] fieldsToIgnore) throws IOException{
        //Field[] fields = desc.getFields();
        JODBSession session = context.getSession();
        //int[] fieldsIDs = desc.getFieldsSubstitutionIDs();
        //boolean[] processedFields = new boolean[fieldsIDs.length];
        FieldRecord fieldRecord = persistentCopyObjectDataContainer.getRecordCache();
        FieldsIterator fieldsIterator = persistentCopyObjectDataContainer.getActiveFieldsIterator();
        if(fieldsIterator == null){
            return false;
        }
        while (fieldsIterator.hasNext()) {
View Full Code Here

Examples of com.mobixess.jodb.core.io.ObjectDataContainer.FieldRecord

        if(arraySize!=fieldsIterator.getRemainingInCurrentCategory()){
            return true;
        }
        IOBase base = context.getBase();
        JODBSession session = context.getSession();
        FieldRecord fieldRecord = objectDataContainer.getRecordCache();
        if( !classDescriptor.getArrayType().isPrimitive()  ){
            for (int i = 0; i < arraySize; i++) {
                fieldsIterator.next(fieldRecord, base);
                Object value = Array.get(array, i);
                if(value == null){
View Full Code Here

Examples of com.mobixess.jodb.core.io.ObjectDataContainer.FieldRecord

        try{
            if(_fieldsIterator == null){
                _container.reset();
                _fieldsIterator = _container.readObject(_context, _objectOffset, true);
            }
            FieldRecord record = _container.getRecordCache();
            IOBase base = _context.getBase();
            final String stringClassName = String.class.getName()
            while(_fieldsIterator.hasNext()){
                _fieldsIterator.next(record, base, false);
                int fieldPos = _classDescriptor.getFieldIndexForID(record._fieldID);
View Full Code Here

Examples of ptolemy.backtrack.util.FieldRecord

                                checkpoint.addObject(new _PROXY_());
                            }
                            return this;
                        }

                        private transient FieldRecord $RECORD$map_iterator = new FieldRecord(0);

                        private transient FieldRecord[] $RECORDS = new FieldRecord[] {
                                $RECORD$map_iterator
                            };
View Full Code Here

Examples of ptolemy.backtrack.util.FieldRecord

                                checkpoint.addObject(new _PROXY_());
                            }
                            return this;
                        }

                        private transient FieldRecord $RECORD$map_iterator = new FieldRecord(0);

                        private transient FieldRecord[] $RECORDS = new FieldRecord[] {
                                $RECORD$map_iterator
                            };
View Full Code Here

Examples of ptolemy.backtrack.util.FieldRecord

                        checkpoint.addObject(new _PROXY_());
                    }
                    return this;
                }

                private transient FieldRecord $RECORD$lastEntry = new FieldRecord(0);

                private transient FieldRecord $RECORD$nextEntry = new FieldRecord(0);

                private transient FieldRecord $RECORD$knownMod = new FieldRecord(0);

                private transient FieldRecord[] $RECORDS = new FieldRecord[] {
                        $RECORD$lastEntry,
                        $RECORD$nextEntry,
                        $RECORD$knownMod
View Full Code Here

Examples of ptolemy.backtrack.util.FieldRecord

                    checkpoint.addObject(new _PROXY_());
                }
                return this;
            }

            private transient FieldRecord $RECORD$pos = new FieldRecord(0);

            private transient FieldRecord $RECORD$size = new FieldRecord(0);

            private transient FieldRecord $RECORD$last = new FieldRecord(0);

            private transient FieldRecord $RECORD$knownMod = new FieldRecord(0);

            private transient FieldRecord[] $RECORDS = new FieldRecord[] {
                    $RECORD$pos,
                    $RECORD$size,
                    $RECORD$last,
View Full Code Here

Examples of ptolemy.backtrack.util.FieldRecord

                    checkpoint.addObject(new _PROXY_());
                }
                return this;
            }

            private transient FieldRecord $RECORD$knownMod = new FieldRecord(0);

            private transient FieldRecord $RECORD$position = new FieldRecord(0);

            private transient FieldRecord $RECORD$lastReturned = new FieldRecord(0);

            private transient FieldRecord $RECORD$size = new FieldRecord(0);

            private transient FieldRecord[] $RECORDS = new FieldRecord[] {
                    $RECORD$knownMod,
                    $RECORD$position,
                    $RECORD$lastReturned,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.