當前位置: 首頁>>代碼示例>>Java>>正文


Java RowIdLifetime類代碼示例

本文整理匯總了Java中java.sql.RowIdLifetime的典型用法代碼示例。如果您正苦於以下問題:Java RowIdLifetime類的具體用法?Java RowIdLifetime怎麽用?Java RowIdLifetime使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


RowIdLifetime類屬於java.sql包,在下文中一共展示了RowIdLifetime類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
/**
 * {@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();
  }
}
 
開發者ID:gemxd,項目名稱:gemfirexd-oss,代碼行數:27,代碼來源:ClientDBMetaData.java

示例2: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
  logger.debug("public RowIdLifetime getRowIdLifetime()");

  throw new SQLFeatureNotSupportedException();
}
 
開發者ID:snowflakedb,項目名稱:snowflake-jdbc,代碼行數:8,代碼來源:SnowflakeDatabaseMetaData.java

示例3: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
public RowIdLifetime getRowIdLifetime()
                              throws SQLException
{
	throw new SQLFeatureNotSupportedException(
		"SPIDatabaseMetadata.getRowIdLifetime() not implemented yet.", "0A000" );

}
 
開發者ID:greenplum-db,項目名稱:pljava,代碼行數:8,代碼來源:SPIDatabaseMetaData.java

示例4: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
   public RowIdLifetime getRowIdLifetime() throws SQLException {
String methodName = new Object() {
}.getClass().getEnclosingMethod().getName();
verifyCallAuthorization(methodName);
return null;
   }
 
開發者ID:kawansoft,項目名稱:awake-file,代碼行數:8,代碼來源:AbstractDatabaseMetaData.java

示例5: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
	return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
開發者ID:olavloite,項目名稱:spanner-jdbc,代碼行數:6,代碼來源:CloudSpannerDatabaseMetaData.java

示例6: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
public java.sql.RowIdLifetime getRowIdLifetime() throws SQLException {
    return null;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:4,代碼來源:DefaultAdaptor.java

示例7: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
    throw new UnsupportedOperationException("Not supported yet.");
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:5,代碼來源:DatabaseMetaDataAdapter.java

示例8: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException
{
    checkClosed();
    throw SQLError.noSupport();
}
 
開發者ID:s-store,項目名稱:sstore-soft,代碼行數:7,代碼來源:JDBC4DatabaseMetaData.java

示例9: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
public RowIdLifetime getRowIdLifetime() throws SQLException {
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
開發者ID:bragex,項目名稱:the-vigilantes,代碼行數:4,代碼來源:JDBC4DatabaseMetaDataUsingInfoSchema.java

示例10: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
public RowIdLifetime getRowIdLifetime() throws SQLException {
	throw new SQLException("Not Implemented: getRowIdLifetime()");
}
 
開發者ID:igapyon,項目名稱:blanco-sfdc-jdbc-driver,代碼行數:4,代碼來源:AbstractBlancoGenericJdbcDatabaseMetaData.java

示例11: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override public RowIdLifetime getRowIdLifetime() throws SQLException {
  throw unsupported();
}
 
開發者ID:apache,項目名稱:calcite-avatica,代碼行數:4,代碼來源:AvaticaNoopDatabaseMetaData.java

示例12: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
public RowIdLifetime getRowIdLifetime() throws SQLException {
  return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
開發者ID:apache,項目名稱:calcite-avatica,代碼行數:4,代碼來源:AvaticaDatabaseMetaData.java

示例13: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
  throwIfClosed();
  return super.getRowIdLifetime();
}
 
開發者ID:dremio,項目名稱:dremio-oss,代碼行數:6,代碼來源:DremioDatabaseMetaDataImpl.java

示例14: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
@Override
public RowIdLifetime getRowIdLifetime() throws SQLException {
	// TODO Auto-generated method stub
	throw new SQLException("Method not supported");
}
 
開發者ID:thulab,項目名稱:iotdb-jdbc,代碼行數:6,代碼來源:TsfileDatabaseMetadata.java

示例15: getRowIdLifetime

import java.sql.RowIdLifetime; //導入依賴的package包/類
/**
 * Get the lifetime of a rowid.
 *
 * @return ROWID_UNSUPPORTED
 */
@Override
public RowIdLifetime getRowIdLifetime() {
    debugCodeCall("getRowIdLifetime");
    return RowIdLifetime.ROWID_UNSUPPORTED;
}
 
開發者ID:vdr007,項目名稱:ThriftyPaxos,代碼行數:11,代碼來源:JdbcDatabaseMetaData.java


注:本文中的java.sql.RowIdLifetime類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。