Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.db.ora
Enum MaterializedView.RefreshWith

java.lang.Object
  extended by java.lang.Enum<MaterializedView.RefreshWith>
      extended by oracle.javatools.db.ora.MaterializedView.RefreshWith

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MaterializedView.RefreshWith>
Enclosing class:
MaterializedView

public static enum MaterializedView.RefreshWith
extends java.lang.Enum<MaterializedView.RefreshWith>

Enum Constant Summary
PRIMARY_KEY
          Materialized view is a primary key materialized view (default).
ROWID
          Materialized view is a rowid materialized view.Rowid materialized views are useful if the materialized view does not include all primary key columns of the master tables.
UNSPECIFIED
          It is not specified whether the materialized view is a primary key view or a rowid view.

 

Method Summary
static MaterializedView.RefreshWith valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MaterializedView.RefreshWith[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

UNSPECIFIED

public static final MaterializedView.RefreshWith UNSPECIFIED
It is not specified whether the materialized view is a primary key view or a rowid view. The default is primary key.

PRIMARY_KEY

public static final MaterializedView.RefreshWith PRIMARY_KEY
Materialized view is a primary key materialized view (default). The master table must contain an enabled primary key constraint.

ROWID

public static final MaterializedView.RefreshWith ROWID
Materialized view is a rowid materialized view.Rowid materialized views are useful if the materialized view does not include all primary key columns of the master tables. This option is invalid in ALTER MATERIALIZED VIEW and can be used in CREATE MATERIALIZED VIEW only.

Method Detail

values

public static MaterializedView.RefreshWith[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MaterializedView.RefreshWith c : MaterializedView.RefreshWith.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MaterializedView.RefreshWith valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.