Package com.caucho.db.table

Examples of com.caucho.db.table.TableIterator


  @Override
  public long evalLong(QueryContext context)
    throws SQLException
  {
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    return row.getLong(_column);
  }
View Full Code Here


  public void updateLong(QueryContext context, long value)
    throws SQLException
  {
    DbTransaction xa = context.getTransaction();
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    row.setLong(xa, _column, value);
  }
View Full Code Here

  @Override
  public double evalDouble(QueryContext context)
    throws SQLException
  {
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    return row.getDouble(_column);
  }
View Full Code Here

  public void updateDouble(QueryContext context, double value)
    throws SQLException
  {
    DbTransaction xa = context.getTransaction();
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    row.setDouble(xa, _column, value);
  }
View Full Code Here

  @Override
  public byte []evalBytes(QueryContext context)
    throws SQLException
  {
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    return row.getBytes(_column);
  }
View Full Code Here

  @Override
  public void evalToResult(QueryContext context, SelectResult result)
    throws SQLException
  {
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    row.evalToResult(_column, result);
  }
View Full Code Here

                          byte []buffer,
                          int offset)
    throws SQLException
  {
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    return row.getBuffer(_column, buffer, offset);
  }
View Full Code Here

  public boolean evalEqual(QueryContext context, byte []matchBuffer)
    throws SQLException
  {
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    return row.isEqual(_column, matchBuffer);
  }
View Full Code Here

  @Override
  public boolean evalEqual(QueryContext context, String string)
    throws SQLException
  {
    TableIterator []rows = context.getTableIterators();
    TableIterator row = rows[_tableIndex];

    return row.isEqual(_column, string);
  }
View Full Code Here

   */
  final public boolean isNull(final QueryContext context)
    throws SQLException
  {
    final TableIterator []rows = context.getTableIterators();
    final TableIterator row = rows[_tableIndex];

    return row.isNull(_column);
  }
View Full Code Here

TOP

Related Classes of com.caucho.db.table.TableIterator

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.