org.jbundle.base.db.Record.doEndKey()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(88)

本文整理了Java中org.jbundle.base.db.Record.doEndKey方法的一些代码示例,展示了Record.doEndKey的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.doEndKey方法的具体详情如下:
包路径:org.jbundle.base.db.Record
类名称:Record
方法名:doEndKey

Record.doEndKey介绍

[英]The end key position is in this record... Save it!
[中]结束键的位置在这个记录中。。。省省吧!

代码示例

代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db

/**
 * Setup the end key position in this record.
 */
public void doEndKey()
{
  FileListener nextListener = (FileListener)this.getNextEnabledListener();
  if (nextListener != null)
  {
    boolean bOldState = nextListener.setEnabledListener(false);  // Don't allow it to be called again
    nextListener.doEndKey();
    nextListener.setEnabledListener(bOldState);
  }
  else if (this.getOwner() != null)
    this.getOwner().doEndKey();
}
/**

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

/**
 * Setup the end key position in this record.
 */
public void doEndKey()
{
  FileListener nextListener = (FileListener)this.getNextEnabledListener();
  if (nextListener != null)
  {
    boolean bOldState = nextListener.setEnabledListener(false);  // Don't allow it to be called again
    nextListener.doEndKey();
    nextListener.setEnabledListener(bOldState);
  }
  else if (this.getOwner() != null)
    this.getOwner().doEndKey();
}
/**

代码示例来源:origin: org.jbundle.base/org.jbundle.base

/**
 * Setup the end key position in this record.
 */
public void doEndKey()
{
  FileListener nextListener = (FileListener)this.getNextEnabledListener();
  if (nextListener != null)
  {
    boolean bOldState = nextListener.setEnabledListener(false);  // Don't allow it to be called again
    nextListener.doEndKey();
    nextListener.setEnabledListener(bOldState);
  }
  else if (this.getOwner() != null)
    this.getOwner().doEndKey();
}
/**

代码示例来源:origin: org.jbundle.base/org.jbundle.base

/**
 * The end key position is in this record... Save it!
 */
public void handleEndKey()
{
  KeyArea keyArea = this.getKeyArea(-1);
  if (keyArea == null)
    return;
  BaseBuffer buffer = new VectorBuffer(null);
  boolean[] rgbModified = keyArea.getModified();
  boolean[] rgbNullable = keyArea.setNullable(true);
  keyArea.setupKeyBuffer(buffer, DBConstants.FILE_KEY_AREA);
  keyArea.zeroKeyFields(DBConstants.END_SELECT_KEY);      // Set the key fields to a large value
  BaseListener  nextListener = this.getNextEnabledListener();
  if (nextListener != null)
    ((FileListener)nextListener).doEndKey();
  else
    this.doEndKey();
  keyArea.setNullable(rgbNullable);
  keyArea.setModified(rgbModified);
  keyArea.reverseKeyBuffer(buffer, DBConstants.FILE_KEY_AREA);
}
/**

代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db

/**
 * The end key position is in this record... Save it!
 */
public void handleEndKey()
{
  KeyArea keyArea = this.getKeyArea(-1);
  if (keyArea == null)
    return;
  BaseBuffer buffer = new VectorBuffer(null);
  boolean[] rgbModified = keyArea.getModified();
  boolean[] rgbNullable = keyArea.setNullable(true);
  keyArea.setupKeyBuffer(buffer, DBConstants.FILE_KEY_AREA);
  keyArea.zeroKeyFields(DBConstants.END_SELECT_KEY);      // Set the key fields to a large value
  BaseListener  nextListener = this.getNextEnabledListener();
  if (nextListener != null)
    ((FileListener)nextListener).doEndKey();
  else
    this.doEndKey();
  keyArea.setNullable(rgbNullable);
  keyArea.setModified(rgbModified);
  keyArea.reverseKeyBuffer(buffer, DBConstants.FILE_KEY_AREA);
}
/**

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

/**
 * The end key position is in this record... Save it!
 */
public void handleEndKey()
{
  KeyArea keyArea = this.getKeyArea(-1);
  if (keyArea == null)
    return;
  BaseBuffer buffer = new VectorBuffer(null);
  boolean[] rgbModified = keyArea.getModified();
  boolean[] rgbNullable = keyArea.setNullable(true);
  keyArea.setupKeyBuffer(buffer, DBConstants.FILE_KEY_AREA);
  keyArea.zeroKeyFields(DBConstants.END_SELECT_KEY);      // Set the key fields to a large value
  BaseListener  nextListener = this.getNextEnabledListener();
  if (nextListener != null)
    ((FileListener)nextListener).doEndKey();
  else
    this.doEndKey();
  keyArea.setNullable(rgbNullable);
  keyArea.setModified(rgbModified);
  keyArea.reverseKeyBuffer(buffer, DBConstants.FILE_KEY_AREA);
}
/**

相关文章

微信公众号

最新文章

更多

Record类方法