Package xbird.util.resource

Examples of xbird.util.resource.PropertyMap


    }

    public void flush(final DbCollection coll, final String docName) throws IOException,
            DbException {
        // #1 write properties
        PropertyMap properties = coll.getCollectionProperties();
        writeProperties(docName, properties);

        // #2 write QName table
        coll.flushSymbols();

        // #3 write str chunk
        _strChunk.flush(coll, docName, properties);

        properties.save();

        _mmfile.close();
    }
View Full Code Here


        this._block[(int) (at >> PAGE_SHIFT)][(int) (at & PAGE_MASK)] |= flag;
    }

    public void flush(final DbCollection coll, final String docName) throws IOException,
            DbException {
        PropertyMap properties = coll.getCollectionProperties();

        // #1 sync local symbol table with shared symbol table
        if(BUILDIDX_AT_BULKLOAD) {
            flushAuxiliaries(coll, docName, properties);
        }
        coll.flushSymbols();

        // #2 write properties
        writeProperties(docName, properties);

        // #3 write str chunk
        _strChunk.flush(coll, docName, properties);

        properties.save();

        // #4 write block in segment paged files
        FixedSegments paged = getPaged(coll, docName);
        pageOutSegments(paged, 0, true);
        close();
View Full Code Here

TOP

Related Classes of xbird.util.resource.PropertyMap

Copyright © 2018 www.massapicom. 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.