Java 类java.sql.RowIdLifetime 实例源码

项目:gemfirexd-oss    文件:ClientDBMetaData.java   
/**
 * {@inheritDoc}
 */
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  this.conn.lock();
  try {
    initServiceMetaData();
    switch (this.serviceMetaData.getRowIdLifeTime()) {
      case ROWID_UNSUPPORTED:
        return RowIdLifetime.ROWID_UNSUPPORTED;
      case ROWID_VALID_OTHER:
        return RowIdLifetime.ROWID_VALID_OTHER;
      case ROWID_VALID_SESSION:
        return RowIdLifetime.ROWID_VALID_SESSION;
      case ROWID_VALID_TRANSACTION:
        return RowIdLifetime.ROWID_VALID_TRANSACTION;
      case ROWID_VALID_FOREVER:
        return RowIdLifetime.ROWID_VALID_FOREVER;
      default:
        return RowIdLifetime.ROWID_UNSUPPORTED;
    }
  } finally {
    this.conn.unlock();
  }
}
项目:gemfirexd-oss    文件:ClientDBMetaData.java   
/**
 * {@inheritDoc}
 */
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  this.conn.lock();
  try {
    initServiceMetaData();
    switch (this.serviceMetaData.getRowIdLifeTime()) {
      case ROWID_UNSUPPORTED:
        return RowIdLifetime.ROWID_UNSUPPORTED;
      case ROWID_VALID_OTHER:
        return RowIdLifetime.ROWID_VALID_OTHER;
      case ROWID_VALID_SESSION:
        return RowIdLifetime.ROWID_VALID_SESSION;
      case ROWID_VALID_TRANSACTION:
        return RowIdLifetime.ROWID_VALID_TRANSACTION;
      case ROWID_VALID_FOREVER:
        return RowIdLifetime.ROWID_VALID_FOREVER;
      default:
        return RowIdLifetime.ROWID_UNSUPPORTED;
    }
  } finally {
    this.conn.unlock();
  }
}
项目:snowflake-jdbc    文件:SnowflakeDatabaseMetaData.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
  logger.debug("public RowIdLifetime getRowIdLifetime()");

  throw new SQLFeatureNotSupportedException();
}
项目:pljava    文件:SPIDatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime()
                              throws SQLException
{
    throw new SQLFeatureNotSupportedException(
        "SPIDatabaseMetadata.getRowIdLifetime() not implemented yet.", "0A000" );

}
项目:awake-file    文件:AbstractDatabaseMetaData.java   
@Override
   public RowIdLifetime getRowIdLifetime() throws SQLException {
String methodName = new Object() {
}.getClass().getEnclosingMethod().getName();
verifyCallAuthorization(methodName);
return null;
   }
项目:spanner-jdbc    文件:CloudSpannerDatabaseMetaData.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:incubator-netbeans    文件:DefaultAdaptor.java   
public java.sql.RowIdLifetime getRowIdLifetime() throws SQLException {
    return null;
}
项目:incubator-netbeans    文件:DatabaseMetaDataAdapter.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
项目:sstore-soft    文件:JDBC4DatabaseMetaData.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
    checkClosed();
    throw SQLError.noSupport();
}
项目:the-vigilantes    文件:JDBC4DatabaseMetaDataUsingInfoSchema.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:the-vigilantes    文件:JDBC4DatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:s-store    文件:JDBC4DatabaseMetaData.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
    checkClosed();
    throw SQLError.noSupport();
}
项目:OpenVertretung    文件:JDBC4DatabaseMetaDataUsingInfoSchema.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:OpenVertretung    文件:JDBC4DatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:lams    文件:JDBC4DatabaseMetaDataUsingInfoSchema.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:lams    文件:JDBC4DatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:ProyectoPacientes    文件:JDBC4DatabaseMetaDataUsingInfoSchema.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:ProyectoPacientes    文件:JDBC4DatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:blanco-sfdc-jdbc-driver    文件:AbstractBlancoGenericJdbcDatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    throw new SQLException("Not Implemented: getRowIdLifetime()");
}
项目:BibliotecaPS    文件:JDBC4DatabaseMetaDataUsingInfoSchema.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:BibliotecaPS    文件:JDBC4DatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:calcite-avatica    文件:AvaticaNoopDatabaseMetaData.java   
@Override public RowIdLifetime getRowIdLifetime() throws SQLException {
  throw unsupported();
}
项目:calcite-avatica    文件:AvaticaDatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
  return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:dremio-oss    文件:DremioDatabaseMetaDataImpl.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  throwIfClosed();
  return super.getRowIdLifetime();
}
项目:iotdb-jdbc    文件:TsfileDatabaseMetadata.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
    // TODO Auto-generated method stub
    throw new SQLException("Method not supported");
}
项目:ThriftyPaxos    文件:JdbcDatabaseMetaData.java   
/**
 * Get the lifetime of a rowid.
 *
 * @return ROWID_UNSUPPORTED
 */
@Override
public RowIdLifetime getRowIdLifetime() {
    debugCodeCall("getRowIdLifetime");
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:jdbc-adapter    文件:Jdbc42DatabaseMetaData.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  return this.metaData.getRowIdLifetime();
}
项目:herddb    文件:HerdDBDatabaseMetadata.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:gemfirexd-oss    文件:EmbedDatabaseMetaData40.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:gemfirexd-oss    文件:EmbedDatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
  throw new AssertionError("only expected to be called in JDBC 4.0");
}
项目:dw-jdbc    文件:AbstractDatabaseMetaData.java   
@Override
public RowIdLifetime getRowIdLifetime() {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:sql4es    文件:ESDatabaseMetaData.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
    // TODO Auto-generated method stub
    return null;
}
项目:Riak-TS-JDBC-Driver    文件:DatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    // TODO Auto-generated method stub
    return null;
}
项目:incubator-zeppelin-druid    文件:TesterDatabaseMetaData.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  return null;
}
项目:Geometry-wars    文件:JDBC4DatabaseMetaDataUsingInfoSchema.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:Geometry-wars    文件:JDBC4DatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:drill    文件:DrillDatabaseMetaDataImpl.java   
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  throwIfClosed();
  return super.getRowIdLifetime();
}
项目:TPKB    文件:JDBC4DatabaseMetaDataUsingInfoSchema.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:TPKB    文件:JDBC4DatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
项目:jdbc-driver    文件:ArielDatabaseMetaData.java   
public RowIdLifetime getRowIdLifetime() throws SQLException {
    // TODO Auto-generated method stub
    return null;
}