Java Code Examples for java.sql.SQLInput#readShort()
The following examples show how to use
java.sql.SQLInput#readShort() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestSQLDataImpl.java From dragonwell8_jdk with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }
Example 2
Source File: TestSQLDataImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }
Example 3
Source File: TestSQLDataImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }
Example 4
Source File: TestSQLDataImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }
Example 5
Source File: TestSQLDataImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }
Example 6
Source File: TestSQLDataImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }
Example 7
Source File: TestSQLDataImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }
Example 8
Source File: TestSQLDataImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }
Example 9
Source File: TestSQLDataImpl.java From jdk8u_jdk with GNU General Public License v2.0 | 6 votes |
@Override public void readSQL(SQLInput stream, String typeName) throws SQLException { sqlType = typeName; types[stringPos] = stream.readString(); types[datePos] = stream.readDate(); types[timePos] = stream.readTime(); types[timestampPos] = stream.readTimestamp(); types[intPos] = stream.readInt(); types[longPos] = stream.readLong(); types[shortPos] = stream.readShort(); types[bigDecimalPos] = stream.readBigDecimal(); types[doublePos] = stream.readDouble(); types[booleanPos] = stream.readBoolean(); types[floatPos] = stream.readFloat(); types[bytePos] = stream.readByte(); types[bytesPos] = stream.readBytes(); }