| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final UUID | |
| public static final int | |
| private UUID | |
| private String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | ViewDescriptor(DataDictionary
The data dictionary that this descriptor lives in dataDictionary, UUID The UUID for the view viewID, String The name of the view viewName, String The text of the query expression from the view definition. viewText, int int check option type checkOption, UUID the schemaid to compile in compSchemaId)Constructor for a ViewDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | drop(LanguageConnectionContext
current language connection context lcc, SchemaDescriptor schema descriptor sd, TableDescriptor table descriptor for this view td)Drop this descriptor, if not already done. |
| private void | drop(LanguageConnectionContext
current language connection context lcc, SchemaDescriptor schema descriptor sd, TableDescriptor table descriptor for this view td, int action action)Drop this descriptor, if not already done, due to action. |
| public int | Returns: An identifier telling what type of check option is on the view.Gets an identifier telling what type of check option is on this view. |
| public String | Returns: String The provider's type.Implements org. Get the provider's type. |
| public UUID | Returns: the schema UUIDGet the compilation type schema id when this view was first bound. |
| public DependableFinder | Returns: the stored form of this providerImplements org. Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable. |
| public String | |
| public UUID | Returns: String The provider's UUIDImplements org. Get the provider's UUID |
| public String | Returns: String The name of this provider.Implements org. Return the name of this Provider. |
| public UUID | Returns: The UUID of the view.Implements abstract org. Gets the UUID of the view. |
| public String | Returns: A String containing the text of the CREATE VIEW statement that created the viewGets the text of the view definition. |
| public boolean | Returns: true if the dependent is currently validImplements org. Check that all of the dependent's dependencies are valid. |
| public void | makeInvalid(int
The action causing the invalidation action, LanguageConnectionContext The LanguageConnectionContext lcc)Implements org. Mark the dependent as invalid (due to at least one of its dependencies being invalid). |
| public void | prepareToInvalidate(Provider
the provider p, int The action causing the invalidation action, LanguageConnectionContext The LanguageConnectionContext lcc)Implements org. Prepare to mark the dependent as invalid (due to at least one of its dependencies being invalid). |
| public void | |
| public void | |
| public String | Returns: The contents as a StringOverrides java. Prints the contents of the ViewDescriptor |
| checkOption | back to summary |
|---|---|
| private final int checkOption | |
| compSchemaId | back to summary |
|---|---|
| private final UUID compSchemaId | |
| NO_CHECK_OPTION | back to summary |
|---|---|
| public static final int NO_CHECK_OPTION | |
| uuid | back to summary |
|---|---|
| private UUID uuid | |
| viewName | back to summary |
|---|---|
| private String viewName | |
| viewText | back to summary |
|---|---|
| private final String viewText | |
| ViewDescriptor | back to summary |
|---|---|
| public ViewDescriptor(DataDictionary dataDictionary, UUID viewID, String viewName, String viewText, int checkOption, UUID compSchemaId) Constructor for a ViewDescriptor.
| |
| drop | back to summary |
|---|---|
| public void drop(LanguageConnectionContext lcc, SchemaDescriptor sd, TableDescriptor td) throws StandardException Drop this descriptor, if not already done.
| |
| drop | back to summary |
|---|---|
| private void drop(LanguageConnectionContext lcc, SchemaDescriptor sd, TableDescriptor td, int action) throws StandardException Drop this descriptor, if not already done, due to action.
If action is not
| |
| getCheckOptionType | back to summary |
|---|---|
| public int getCheckOptionType() Gets an identifier telling what type of check option is on this view.
| |
| getClassType | back to summary |
|---|---|
| public String getClassType() Implements org. Get the provider's type.
| |
| getCompSchemaId | back to summary |
|---|---|
| public UUID getCompSchemaId() Get the compilation type schema id when this view was first bound.
| |
| getDependableFinder | back to summary |
|---|---|
| public DependableFinder getDependableFinder() Implements org. Doc from org. Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable.
| |
| getName | back to summary |
|---|---|
| public String getName() | |
| getObjectID | back to summary |
|---|---|
| public UUID getObjectID() Implements org. Get the provider's UUID
| |
| getObjectName | back to summary |
|---|---|
| public String getObjectName() Implements org. Return the name of this Provider. (Useful for errors.)
| |
| getUUID | back to summary |
|---|---|
| public UUID getUUID() Implements abstract org. Gets the UUID of the view.
| |
| getViewText | back to summary |
|---|---|
| public String getViewText() Gets the text of the view definition.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements org. Check that all of the dependent's dependencies are valid.
| |
| makeInvalid | back to summary |
|---|---|
| public void makeInvalid(int action, LanguageConnectionContext lcc) throws StandardException Implements org. Mark the dependent as invalid (due to at least one of its dependencies being invalid).
| |
| prepareToInvalidate | back to summary |
|---|---|
| public void prepareToInvalidate(Provider p, int action, LanguageConnectionContext lcc) throws StandardException Implements org. Prepare to mark the dependent as invalid (due to at least one of its dependencies being invalid).
| |
| setUUID | back to summary |
|---|---|
| public void setUUID(UUID uuid) Sets the UUID of the view.
| |
| setViewName | back to summary |
|---|---|
| public void setViewName(String name) Sets the name of the view.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Prints the contents of the ViewDescriptor
| |