Package org.hotrod.torcs.setters.index
Class AsciiStreamSetter
- java.lang.Object
-
- org.hotrod.torcs.setters.index.IndexSetter
-
- org.hotrod.torcs.setters.index.AsciiStreamSetter
-
public class AsciiStreamSetter extends IndexSetter
-
-
Field Summary
-
Fields inherited from class org.hotrod.torcs.setters.index.IndexSetter
index
-
-
Constructor Summary
Constructors Constructor Description AsciiStreamSetter(int index, InputStream value)AsciiStreamSetter(int index, InputStream value, int length)AsciiStreamSetter(int index, InputStream value, long length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTo(PreparedStatement ps)StringguessSQLServerDataType()booleanisConsumableParameter()Objectvalue()-
Methods inherited from class org.hotrod.torcs.setters.index.IndexSetter
getIndex, isLOBParameter
-
-
-
-
Constructor Detail
-
AsciiStreamSetter
public AsciiStreamSetter(int index, InputStream value)
-
AsciiStreamSetter
public AsciiStreamSetter(int index, InputStream value, int length)
-
AsciiStreamSetter
public AsciiStreamSetter(int index, InputStream value, long length)
-
-
Method Detail
-
isConsumableParameter
public boolean isConsumableParameter()
- Overrides:
isConsumableParameterin classIndexSetter
-
applyTo
public void applyTo(PreparedStatement ps) throws SQLException
- Specified by:
applyToin classIndexSetter- Throws:
SQLException
-
value
public Object value()
- Specified by:
valuein classIndexSetter
-
guessSQLServerDataType
public String guessSQLServerDataType() throws CouldNotToGuessDataTypeException
- Specified by:
guessSQLServerDataTypein classIndexSetter- Throws:
CouldNotToGuessDataTypeException
-
-