Class SqlInputStreamWrapper
- java.lang.Object
-
- org.apache.ignite.internal.processors.odbc.SqlInputStreamWrapper
-
public class SqlInputStreamWrapper extends Object
InputStream wrapper used to pass it as argument to PreparedStatement.
-
-
Constructor Summary
Constructors Constructor Description SqlInputStreamWrapper(InputStream stream)SqlInputStreamWrapper(InputStream stream, int len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreaminputStream()Returns input stream for the enclosed data.intlength()
-
-
-
Constructor Detail
-
SqlInputStreamWrapper
public SqlInputStreamWrapper(InputStream stream, int len)
- Parameters:
stream- Input stream.len- Length of data in the input stream. -1 if unknown.
-
SqlInputStreamWrapper
public SqlInputStreamWrapper(InputStream stream)
- Parameters:
stream- Input stream.
-
-
Method Detail
-
inputStream
public InputStream inputStream()
Returns input stream for the enclosed data.- Returns:
- Input stream.
-
length
public int length()
- Returns:
- Length of data in the input stream.
-
-