Package com.spotfire.ws.im.ds
Class ProcedureMetadata
java.lang.Object
com.spotfire.ws.im.ds.MetadataItem
com.spotfire.ws.im.ds.ProcedureMetadata
This class represents the database metadata for a stored procedure.
- Since:
- 3.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
This class implements a representation of metadata for an in-parameter for a stored procedure. -
Field Summary
Fields inherited from class com.spotfire.ws.im.ds.MetadataItem
CATALOG, COLUMN, DATA_SOURCE, DATA_TYPE_ATTR, PROCEDURE, PROCEDURE_COLUMN, SCHEMA, TABLE, TABLE_ALIAS, TABLE_REF_ATTR
-
Constructor Summary
ConstructorDescriptionProcedureMetadata
(String name, String description, boolean returnsTable, ProcedureMetadata.Parameter[] parameters) Create a new ProcedureMetadata object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the description.Returns the procedure parameters.boolean
Specifies if a table is returned by the procedure.Methods inherited from class com.spotfire.ws.im.ds.MetadataItem
create, getAttributeNames, getAttributeValue, getAttributeValues, getName, getType, setAttribute, toString
-
Field Details
-
RETURNS_TABLE_ATTR
Return table attribute.- See Also:
-
-
Constructor Details
-
ProcedureMetadata
public ProcedureMetadata(String name, String description, boolean returnsTable, ProcedureMetadata.Parameter[] parameters) Create a new ProcedureMetadata object.- Parameters:
name
- The name of the procedure.description
- Description text. May be null.returnsTable
- true if the procedure is a table function.parameters
- The in-parameters of the procedure. Null will give an empty list.
-
-
Method Details
-
getDescription
Returns the description.- Returns:
- the procedure description
-
getParameters
Returns the procedure parameters.- Returns:
- the parameters
-
getReturnsTable
public boolean getReturnsTable()Specifies if a table is returned by the procedure.- Returns:
true
if returns a table,false
otherwise
-