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

E17493-01

oracle.javatools.db.ora
Enum MaterializedView.BuildType

java.lang.Object
  extended by java.lang.Enum<MaterializedView.BuildType>
      extended by oracle.javatools.db.ora.MaterializedView.BuildType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MaterializedView.BuildType>
Enclosing class:
MaterializedView

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


Enum Constant Summary
DEFERRED
          The materialized view is to be populated by the next REFRESH operation.
IMMEDIATE
          Materialized view is to be populated immediately.
PREBUILT
          Populated with an existing table during creation.
 
Method Summary
static MaterializedView.BuildType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MaterializedView.BuildType[] 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

IMMEDIATE

public static final MaterializedView.BuildType IMMEDIATE
Materialized view is to be populated immediately. This is the default.


DEFERRED

public static final MaterializedView.BuildType DEFERRED
The materialized view is to be populated by the next REFRESH operation. The first (deferred) refresh must always be a complete refresh. Until then, the materialized view has a staleness value of UNUSABLE, so it cannot be used for query rewrite.


PREBUILT

public static final MaterializedView.BuildType PREBUILT
Populated with an existing table during creation. The relationship of the contents of this prebuilt table to the materialized view's masters is unknown to the Oracle Database.

Method Detail

values

public static MaterializedView.BuildType[] 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.BuildType c : MaterializedView.BuildType.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.BuildType 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

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

E17493-01

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