org.teiid.connector.metadata.runtime
Interface Parameter
- All Superinterfaces:
- MetadataObject, TypeModel
public interface Parameter
- extends MetadataObject, TypeModel
Represents a procedure parameter in the runtime metadata.
IN
static final int IN
- See Also:
- Constant Field Values
OUT
static final int OUT
- See Also:
- Constant Field Values
INOUT
static final int INOUT
- See Also:
- Constant Field Values
RETURN
static final int RETURN
- See Also:
- Constant Field Values
RESULT_SET
static final int RESULT_SET
- See Also:
- Constant Field Values
getIndex
int getIndex()
throws ConnectorException
- Index of the parameter in the procedure. If the parameter has
no index, then the index will be returned as -1.
- Returns:
- Index of the parameter
- Throws:
ConnectorException
getDirection
int getDirection()
throws ConnectorException
- Get direction of the parameter, as specified by direction constants.
- Returns:
- Direction constant
- Throws:
ConnectorException- See Also:
IN,
OUT,
INOUT,
RETURN,
RESULT_SET
getParent
Procedure getParent()
throws ConnectorException
- Get the parent
- Returns:
- Parent
- Throws:
ConnectorException
getChildren
java.util.List<Element> getChildren()
throws ConnectorException
- Throws:
ConnectorException
Copyright © 2009. All Rights Reserved.