Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.javatools.db.ora
Enum MaterializedView.RefreshMethod

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

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

Method used to refresh the Materialized View.


Enum Constant Summary
COMPLETE
          Materialized view is completely refreshed from the masters
FAST
          Oracle Database performs an incremental refresh applying changes that correspond to changes in the masters since the last refresh When you specify FAST refresh at create time, Oracle Database verifies that the materialized view you are creating is eligible for fast refresh.
FORCE
          Oracle Database performs a fast refresh if possible, otherwise a complete refresh
NA
          Not Applicable
NEVER
          User specified that the Oracle Database should not refresh this materialized view
 
Method Summary
static MaterializedView.RefreshMethod valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MaterializedView.RefreshMethod[] 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

NEVER

public static final MaterializedView.RefreshMethod NEVER
User specified that the Oracle Database should not refresh this materialized view


FAST

public static final MaterializedView.RefreshMethod FAST
Oracle Database performs an incremental refresh applying changes that correspond to changes in the masters since the last refresh When you specify FAST refresh at create time, Oracle Database verifies that the materialized view you are creating is eligible for fast refresh. When you change the refresh method to FAST in an ALTER MATERIALIZED VIEW statement, Oracle Database does not perform this verification. If the materialized view is not eligible for fast refresh, Oracle Database returns an error when you attempt to refresh this view.


COMPLETE

public static final MaterializedView.RefreshMethod COMPLETE
Materialized view is completely refreshed from the masters


FORCE

public static final MaterializedView.RefreshMethod FORCE
Oracle Database performs a fast refresh if possible, otherwise a complete refresh


NA

public static final MaterializedView.RefreshMethod NA
Not Applicable

Method Detail

values

public static MaterializedView.RefreshMethod[] 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.RefreshMethod c : MaterializedView.RefreshMethod.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.RefreshMethod 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 Reference
11g Release 1 (11.1.1.7.0)

E13403-08

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