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

E13403-05

oracle.javatools.db.ora
Enum MaterializedView.Staleness

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

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

Relationship between the contents of the materialized view and the contents of the materialized view's masters


Enum Constant Summary
COMPILATION_ERROR
          The Materialized view compilation failed.
FRESH
          Materialized view is a read-consistent view of the current state of its masters
NEEDS_COMPILE
          The Materialized view needs compiling.
STALE
          Materialized view is out of date because one or more of its masters has changed.
UNDEFINED
          Materialized view has remote masters.
UNKNOWN
          Oracle Database does not know whether the materialized view is in a read-consistent view of its masters from any point in time (this is the case for materialized views created on prebuilt tables)
UNUSABLE
          Materialized view is not a read-consistent view of its masters from any point in time
 
Method Summary
static MaterializedView.Staleness valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MaterializedView.Staleness[] 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

FRESH

public static final MaterializedView.Staleness FRESH
Materialized view is a read-consistent view of the current state of its masters


STALE

public static final MaterializedView.Staleness STALE
Materialized view is out of date because one or more of its masters has changed. If the materialized view was FRESH before it became STALE, then it is a read-consistent view of a former state of its masters.


UNUSABLE

public static final MaterializedView.Staleness UNUSABLE
Materialized view is not a read-consistent view of its masters from any point in time


UNKNOWN

public static final MaterializedView.Staleness UNKNOWN
Oracle Database does not know whether the materialized view is in a read-consistent view of its masters from any point in time (this is the case for materialized views created on prebuilt tables)


UNDEFINED

public static final MaterializedView.Staleness UNDEFINED
Materialized view has remote masters. The concept of staleness is not defined for such materialized views.


NEEDS_COMPILE

public static final MaterializedView.Staleness NEEDS_COMPILE
The Materialized view needs compiling.


COMPILATION_ERROR

public static final MaterializedView.Staleness COMPILATION_ERROR
The Materialized view compilation failed.

Method Detail

values

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

E13403-05

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