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.RefreshMode

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

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

Different modes that can be selected for how the Materialized View will be refreshed.


Enum Constant Summary
COMMIT
          Oracle Database refreshes this materialized view when a transaction on one of the materialized view's masters commits
DEMAND
          Oracle Database refreshes this materialized view whenever an appropriate refresh procedure is called
NEVER
          Oracle Database never refreshes this materialized view
SPECIFY
          The user specifies the refresh times for this materialized view using the setStartWith and setInterval methods.
 
Method Summary
static MaterializedView.RefreshMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MaterializedView.RefreshMode[] 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

DEMAND

public static final MaterializedView.RefreshMode DEMAND
Oracle Database refreshes this materialized view whenever an appropriate refresh procedure is called


COMMIT

public static final MaterializedView.RefreshMode COMMIT
Oracle Database refreshes this materialized view when a transaction on one of the materialized view's masters commits


NEVER

public static final MaterializedView.RefreshMode NEVER
Oracle Database never refreshes this materialized view


SPECIFY

public static final MaterializedView.RefreshMode SPECIFY
The user specifies the refresh times for this materialized view using the setStartWith and setInterval methods. This value is not returned from the data dictionary, but is used on create to include the "START WITH" and "NEXT" clauses.

Method Detail

values

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