Package org.teiid.client.metadata
Class ParameterInfo
- java.lang.Object
-
- org.teiid.client.metadata.ParameterInfo
-
- All Implemented Interfaces:
Externalizable
,Serializable
public class ParameterInfo extends Object implements Externalizable
Desccribes some parameter info to return when executing a CallableStatement - this is used to avoid sending SPParameter, which contains references to metadata objects and stuff we don't want to send.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
IN
Constant identifying an IN parameterstatic int
INOUT
Constant identifying an INOUT parameterstatic int
OUT
Constant identifying an OUT parameterstatic int
RESULT_SET
Constant identifying a RESULT SET parameterstatic int
RETURN_VALUE
Constant identifying a RETURN parameter
-
Constructor Summary
Constructors Constructor Description ParameterInfo()
ParameterInfo(int type, int numColumns)
Create outbound parameter info
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumColumns()
int
getType()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
-
-
Field Detail
-
IN
public static final int IN
Constant identifying an IN parameter- See Also:
- Constant Field Values
-
OUT
public static final int OUT
Constant identifying an OUT parameter- See Also:
- Constant Field Values
-
INOUT
public static final int INOUT
Constant identifying an INOUT parameter- See Also:
- Constant Field Values
-
RETURN_VALUE
public static final int RETURN_VALUE
Constant identifying a RETURN parameter- See Also:
- Constant Field Values
-
RESULT_SET
public static final int RESULT_SET
Constant identifying a RESULT SET parameter- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public int getType()
-
getNumColumns
public int getNumColumns()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-