java.sql.ResultSet.getFetchDirection()方法的使用及代码示例

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

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

ResultSet.getFetchDirection介绍

[英]Gets the direction in which rows are fetched for this ResultSetobject.
[中]获取为此ResultsToObject获取行的方向。

代码示例

代码示例来源:origin: codingapi/tx-lcn

@Override
public int getFetchDirection() throws SQLException {
 return delegate.getFetchDirection();
}

代码示例来源:origin: querydsl/querydsl

@Override
public int getFetchDirection() throws SQLException {
  return rs.getFetchDirection();
}

代码示例来源:origin: apache/incubator-shardingsphere

@Override
public final int getFetchDirection() throws SQLException {
  return resultSets.get(0).getFetchDirection();
}

代码示例来源:origin: alibaba/druid

@Override
public int getFetchDirection() throws SQLException {
  try {
    return rs.getFetchDirection();
  } catch (Throwable t) {
    throw checkException(t);
  }
}

代码示例来源:origin: alibaba/druid

@Override
public int resultSet_getFetchDirection(ResultSetProxy rs) throws SQLException {
  if (this.pos < filterSize) {
    return nextFilter()
        .resultSet_getFetchDirection(this, rs);
  }
  return rs.getResultSetRaw()
      .getFetchDirection();
}

代码示例来源:origin: p6spy/p6spy

@Override
public int getFetchDirection() throws SQLException {
 return delegate.getFetchDirection();
}

代码示例来源:origin: Meituan-Dianping/Zebra

@Override
public int getFetchDirection() throws SQLException {
  return innerResultSet.getFetchDirection();
}

代码示例来源:origin: Meituan-Dianping/Zebra

@Override
public int getFetchDirection() throws SQLException {
  return innerResultSet.getFetchDirection();
}

代码示例来源:origin: apache/phoenix

@Override
public int getFetchDirection() throws SQLException {
  return rs.getFetchDirection();
}

代码示例来源:origin: com.alibaba/druid

@Override
public int getFetchDirection() throws SQLException {
  try {
    return rs.getFetchDirection();
  } catch (Throwable t) {
    throw checkException(t);
  }
}

代码示例来源:origin: com.alibaba/druid

@Override
public int resultSet_getFetchDirection(ResultSetProxy rs) throws SQLException {
  if (this.pos < filterSize) {
    return nextFilter()
        .resultSet_getFetchDirection(this, rs);
  }
  return rs.getResultSetRaw()
      .getFetchDirection();
}

代码示例来源:origin: org.patterntesting/patterntesting-rt

/**
 * Gets the fetch direction.
 *
 * @return the fetch direction
 * @throws SQLException
 *             the SQL exception
 * @see java.sql.ResultSet#getFetchDirection()
 */
@Override
public int getFetchDirection() throws SQLException {
  return this.resultSet.getFetchDirection();
}

代码示例来源:origin: co.paralleluniverse/comsat-jdbc

@Override
  public Integer call() throws SQLException {
    return result.getFetchDirection();
  }
});

代码示例来源:origin: future-architect/uroborosql

/**
 * {@inheritDoc}
 *
 * @see java.sql.ResultSet#getFetchDirection()
 */
@Override
public int getFetchDirection() throws SQLException {
  return wrapped.getFetchDirection();
}

代码示例来源:origin: ontopia/ontopia

@Override
public int getFetchDirection()
 throws SQLException {
 return rs.getFetchDirection();
}

代码示例来源:origin: com.caucho/resin

/**
 * Gets the fetch direction.
 */
public int getFetchDirection()
 throws SQLException
{
 return _rs.getFetchDirection();
}

代码示例来源:origin: org.apache.commons/commons-dbcp2

@Override
public int getFetchDirection() throws SQLException {
  try {
    return resultSet.getFetchDirection();
  } catch (final SQLException e) {
    handleException(e);
    return 0;
  }
}

代码示例来源:origin: org.apache.tomcat/tomcat-dbcp

@Override
public int getFetchDirection() throws SQLException {
  try {
    return resultSet.getFetchDirection();
  } catch (final SQLException e) {
    handleException(e);
    return 0;
  }
}

代码示例来源:origin: org.jooq/jooq

@Override
public int getFetchDirection() throws SQLException {
  return getDelegate().getFetchDirection();
}

代码示例来源:origin: org.jboss.jbossas/jboss-as-connector

public int getFetchDirection() throws SQLException
{
 checkState();
 try
 {
   return resultSet.getFetchDirection();
 }
 catch (Throwable t)
 {
   throw checkException(t);
 }
}

相关文章

微信公众号

最新文章

更多

ResultSet类方法