当前位置: 首页>>代码示例>>Java>>正文


Java RowOutputInterface.writeIntData方法代码示例

本文整理汇总了Java中org.hsqldb.rowio.RowOutputInterface.writeIntData方法的典型用法代码示例。如果您正苦于以下问题:Java RowOutputInterface.writeIntData方法的具体用法?Java RowOutputInterface.writeIntData怎么用?Java RowOutputInterface.writeIntData使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.hsqldb.rowio.RowOutputInterface的用法示例。


在下文中一共展示了RowOutputInterface.writeIntData方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: write

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
void write(RowOutputInterface out) throws IOException, HsqlException {

        if (Trace.DOASSERT) {

            // fredt - assert not correct - row can be deleted from one index but
            // not yet deleted from other indexes while the process of finding
            // the node is in progress which may require saving the row
            // to make way for new rows in the cache
            // Trace.doAssert(iBalance != -2);
        }

        out.writeIntData(iBalance);
        out.writeIntData((iLeft == NO_POS) ? 0
                                           : iLeft);
        out.writeIntData((iRight == NO_POS) ? 0
                                            : iRight);
        out.writeIntData((iParent == NO_POS) ? 0
                                             : iParent);
    }
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:20,代码来源:DiskNode.java

示例2: writeTranslatePointer

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
private void writeTranslatePointer(int pointer, RowOutputInterface out,
                                   org.hsqldb.lib.DoubleIntTable lookup)
                                   throws IOException, HsqlException {

    int newPointer = 0;

    if (pointer != Node.NO_POS) {
        int i = lookup.find(0, pointer);

        if (i == -1) {
            throw Trace.error(Trace.DiskNode_writeTranslatePointer);
        }

        newPointer = lookup.get(i, 1);
    }

    out.writeIntData(newPointer);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:19,代码来源:DiskNode.java

示例3: write

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
void write(RowOutputInterface out) throws IOException {

        if (Trace.DOASSERT) {

            // fredt - assert not correct - row can be deleted from one index but
            // not yet deleted from other indexes while the process of finding
            // the node is in progress which may require saving the row
            // to make way for new rows in the cache
            // Trace.doAssert(iBalance != -2);
        }

        out.writeIntData(iBalance);
        out.writeIntData((iLeft == NO_POS) ? 0
                                           : iLeft);
        out.writeIntData((iRight == NO_POS) ? 0
                                            : iRight);
        out.writeIntData((iParent == NO_POS) ? 0
                                             : iParent);
    }
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:20,代码来源:DiskNode.java

示例4: writeTranslate

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
void writeTranslate(RowOutputInterface out,
                    org.hsqldb.lib.DoubleIntTable lookup)
                    throws IOException, HsqlException {

    out.writeIntData(iBalance);
    writeTranslatePointer(iLeft, out, lookup);
    writeTranslatePointer(iRight, out, lookup);
    writeTranslatePointer(iParent, out, lookup);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:10,代码来源:DiskNode.java

示例5: writeTranslate

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
void writeTranslate(RowOutputInterface out, IntLookup lookup) {

        out.writeIntData(iBalance);
        writeTranslatePointer(iLeft, out, lookup);
        writeTranslatePointer(iRight, out, lookup);
        writeTranslatePointer(iParent, out, lookup);
    }
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:8,代码来源:DiskNode.java

示例6: writeTranslatePointer

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
private void writeTranslatePointer(int pointer, RowOutputInterface out,
                                   IntLookup lookup) {

    int newPointer = 0;

    if (pointer != Node.NO_POS) {
        newPointer = lookup.lookupFirstEqual(pointer);
    }

    out.writeIntData(newPointer);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:12,代码来源:DiskNode.java


注:本文中的org.hsqldb.rowio.RowOutputInterface.writeIntData方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。