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


Java RowOutputInterface.writeSize方法代码示例

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


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

示例1: write

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the data to disk. Unlike CachedRow, hasChanged is never set
 *  to true when changes are made to the Nodes. (Nodes are in-memory).
 *  The only time this is used is when a new Row is added to the Caches.
 */
public void write(RowOutputInterface out) {

    out.writeSize(storageSize);
    out.writeData(rowData, tTable.colTypes);
    out.writeEnd();

    hasDataChanged = false;
}
 
开发者ID:s-store,项目名称:sstore-soft,代码行数:14,代码来源:RowAVLDiskData.java

示例2: write

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the data to disk. Unlike CachedRow, hasChanged is never set
 *  to true when changes are made to the Nodes. (Nodes are in-memory).
 *  The only time this is used is when a new Row is added to the Caches.
 */
public void write(RowOutputInterface out) {

    out.writeSize(storageSize);
    out.writeData(this, table.colTypes);
    out.writeEnd();

    hasDataChanged = false;
}
 
开发者ID:Julien35,项目名称:dev-courses,代码行数:14,代码来源:RowAVLDiskData.java

示例3: write

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the data to disk. Unlike CachedRow, hasChanged is never set
 *  to true when changes are made to the Nodes. (Nodes are in-memory).
 *  The only time this is used is when a new Row is added to the Caches.
 */
void write(RowOutputInterface out) throws IOException, HsqlException {

    out.writeSize(storageSize);
    out.writeData(oData, tTable);
    out.writeEnd();

    hasChanged = false;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:14,代码来源:CachedDataRow.java

示例4: write

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the data to disk. Unlike CachedRow, hasChanged is never set
 *  to true when changes are made to the Nodes. (Nodes are in-memory).
 *  The only time this is used is when a new Row is added to the Caches.
 */
public void write(RowOutputInterface out) {

    out.writeSize(storageSize);
    out.writeData(oData, tTable);
    out.writeEnd();

    hasDataChanged = false;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:14,代码来源:CachedDataRow.java

示例5: write

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

        out.writeSize(storageSize);

        NodeAVL rownode = nPrimaryNode;

        while (rownode != null) {
            rownode.write(out, lookup);

            rownode = rownode.nNext;
        }

        out.writeData(this, table.colTypes);
        out.writeEnd();

        isNew = false;
    }
 
开发者ID:Julien35,项目名称:dev-courses,代码行数:18,代码来源:RowAVLDisk.java

示例6: writeNodes

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the Nodes, immediately after the row size.
 *
 * @param out
 *
 * @throws IOException
 * @throws HsqlException
 */
private void writeNodes(RowOutputInterface out)
throws IOException, HsqlException {

    out.writeSize(storageSize);

    Node n = nPrimaryNode;

    while (n != null) {
        n.write(out);

        n = n.nNext;
    }

    hasChanged = false;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:24,代码来源:CachedRow.java

示例7: writeNodes

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the Nodes, immediately after the row size.
 *
 * @param out
 *
 * @throws IOException
 * @throws HsqlException
 */
private void writeNodes(RowOutputInterface out) throws IOException {

    out.writeSize(storageSize);

    Node n = nPrimaryNode;

    while (n != null) {
        n.write(out);

        n = n.nNext;
    }

    hasNodesChanged = false;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:23,代码来源:CachedRow.java

示例8: write

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

        out.writeSize(storageSize);

        NodeAVL rownode = nPrimaryNode;

        while (rownode != null) {
            rownode.write(out, lookup);

            rownode = rownode.nNext;
        }

        out.writeData(this, table.colTypes);
        out.writeEnd();
    }
 
开发者ID:tiweGH,项目名称:OpenDiabetes,代码行数:16,代码来源:RowAVLDisk.java

示例9: writeNodes

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the Nodes, immediately after the row size.
 *
 * @param out
 *
 * @throws IOException
 */
void writeNodes(RowOutputInterface out) {

    out.writeSize(storageSize);

    NodeAVL n = nPrimaryNode;

    while (n != null) {
        n.write(out);

        n = n.nNext;
    }
}
 
开发者ID:tiweGH,项目名称:OpenDiabetes,代码行数:20,代码来源:RowAVLDisk.java

示例10: write

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

        out.writeSize(storageSize);

        NodeAVL rownode = nPrimaryNode;

        while (rownode != null) {
            ((NodeAVLDisk) rownode).writeTranslate(out, lookup);

            rownode = rownode.nNext;
        }

        out.writeData(getData(), tTable.colTypes);
        out.writeEnd();
    }
 
开发者ID:s-store,项目名称:sstore-soft,代码行数:16,代码来源:RowAVLDisk.java

示例11: writeNodes

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the Nodes, immediately after the row size.
 *
 * @param out
 *
 * @throws IOException
 */
private void writeNodes(RowOutputInterface out) throws IOException {

    out.writeSize(storageSize);

    NodeAVL n = nPrimaryNode;

    while (n != null) {
        n.write(out);

        n = n.nNext;
    }

    hasNodesChanged = false;
}
 
开发者ID:s-store,项目名称:sstore-soft,代码行数:22,代码来源:RowAVLDisk.java

示例12: writeNodes

import org.hsqldb.rowio.RowOutputInterface; //导入方法依赖的package包/类
/**
 *  Writes the Nodes, immediately after the row size.
 *
 * @param out
 *
 * @throws IOException
 */
void writeNodes(RowOutputInterface out) {

    out.writeSize(storageSize);

    NodeAVL n = nPrimaryNode;

    while (n != null) {
        n.write(out);

        n = n.nNext;
    }

    hasNodesChanged = false;
}
 
开发者ID:Julien35,项目名称:dev-courses,代码行数:22,代码来源:RowAVLDisk.java

示例13: write

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

        out.writeSize(storageSize);

        Node rownode = nPrimaryNode;

        while (rownode != null) {
            ((DiskNode) rownode).writeTranslate(out, lookup);

            rownode = rownode.nNext;
        }

        out.writeData(getData(), getTable());
        out.writeEnd();
    }
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:16,代码来源:CachedRow.java


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