Class BlobFromLocator.LocatorInputStream
java.lang.Object
java.io.InputStream
com.mysql.jdbc.BlobFromLocator.LocatorInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
- Enclosing class:
BlobFromLocator
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) long(package private) long(package private) PreparedStatement -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
currentPositionInBlob
long currentPositionInBlob -
length
long length -
pStmt
PreparedStatement pStmt
-
-
Constructor Details
-
LocatorInputStream
LocatorInputStream() throws SQLException- Throws:
SQLException
-
LocatorInputStream
LocatorInputStream(long pos, long len) throws SQLException - Throws:
SQLException
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-