org.postgresql.core.PGStream.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 2?
R ? d ? d ?
? ?
? ?
? ?
? ? ?
? ?
? ?
?
d
d d d
d
d d
d
d
?
?
?
d d
d
!
)"
#$%
,&
'(
')*+
2 ?,
2-
2.
2/
d0
'12
: ?
3
4
5
6
7
8
9;
C<
:=
>
?
d@
dA m
dBC
dD
E dF
GEHI
JK
LM
:&
dNO
WP
Q
'QRS TU
[V
'
?
?W
?XYZ[ InnerClasses
socketFactory Ljavax/net/SocketFactory; hostSpec Lorg/postgresql/util/HostSpec; _int4buf [B _int2buf
connection Ljava/net/Socket; pg_input 0Lorg/postgresql/core/VisibleBufferedInputStream; pg_output Ljava/io/OutputStream; streamBuffer encoding Lorg/postgresql/core/Encoding; encodingWriter Ljava/io/Writer; ;(Ljavax/net/SocketFactory;Lorg/postgresql/util/HostSpec;I)V Code LineNumberTable LocalVariableTable address Ljava/net/InetSocketAddress; this Lorg/postgresql/core/PGStream; timeout I socket
StackMapTableY\]^ ?
Exceptions :(Ljavax/net/SocketFactory;Lorg/postgresql/util/HostSpec;)V
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; getHostSpec ()Lorg/postgresql/util/HostSpec; getSocket ()Ljava/net/Socket; getSocketFactory ()Ljavax/net/SocketFactory; hasMessagePending ()Z e !Ljava/net/SocketTimeoutException; soTimeout_ changeSocket (Ljava/net/Socket;)V getEncoding ()Lorg/postgresql/core/Encoding; setEncoding !(Lorg/postgresql/core/Encoding;)V interceptor getEncodingWriter ()Ljava/io/Writer; sendChar (I)V val sendInteger4 sendInteger2 send ([B)V buf ([BI)V siz ([BII)V i off bufamt` peekChar ()I c receiveChar receiveInteger4 receiveInteger2
receiveString (I)Ljava/lang/String; len res Ljava/lang/String; receiveErrorString DecodeResult 7(I)Lorg/postgresql/core/EncodingPredictor$DecodeResult; value 4Lorg/postgresql/core/EncodingPredictor$DecodeResult; enc Ljava/io/IOException;$; ()Ljava/lang/String; receiveTupleV3 ()[[B oome Ljava/lang/OutOfMemoryError; l_size l_msgSize l_nf answer [[B oom ?C receive (I)[B w s skip size J
sendStream (Ljava/io/InputStream;I)V readCount ioe count inStream Ljava/io/InputStream; remaining expectedLengtha flush ()V
receiveEOFb close setNetworkTimeout milliseconds getNetworkTimeout
SourceFile
PGStream.java z ? h i j k\c ?^d ?]efgh ? java/net/InetSocketAddressi ?j ? zklmno ? ? UTF-8pqr ? ? n m l m z { o p q rs ? ? ? ? ?t ? java/net/SocketTimeoutExceptionuv .org/postgresql/core/VisibleBufferedInputStreamwx z ? java/io/BufferedOutputStreamyz z{ s t v w| ?}~ x y? ? ? org/postgresql/core/PGStream$1 z? ?? java/io/IOException +No encoding has been set on this connection z?`? ?? ? java/lang/Short java/lang/StringBuilder 9Tried to send an out-of-range integer as a 2-byte value: ????? ? ? ?? ? java/io/EOFException? ???????? ??? ??? 2org/postgresql/core/EncodingPredictor$DecodeResult z???? ?? ? ? ? ? ? ? ? java/lang/OutOfMemoryError ? ??? u ma EPremature end of input stream, expected {0} bytes, but only read {1}. java/lang/Object?????? ? ? #org/postgresql/core/PGBindException z? ? ? !org/postgresql/util/PSQLException %Expected an EOF from server, got: {0}??? z?? ?? ? org/postgresql/core/PGStream java/io/Closeable java/io/Flushable javax/net/SocketFactory org/postgresql/util/HostSpec java/net/Socket java/lang/Throwable java/io/OutputStream java/io/InputStream java/sql/SQLException createSocket isConnected
shouldResolve ()Ljava/lang/Boolean; java/lang/Boolean booleanValue getHost getPort (Ljava/lang/String;I)V createUnresolved 1(Ljava/lang/String;I)Ljava/net/InetSocketAddress; connect (Ljava/net/SocketAddress;I)V org/postgresql/core/Encoding getJVMEncoding 2(Ljava/lang/String;)Lorg/postgresql/core/Encoding; available peek
setTcpNoDelay (Z)V getInputStream ()Ljava/io/InputStream; getOutputStream ()Ljava/io/OutputStream; (Ljava/io/OutputStream;I)V name java/lang/String equals (Ljava/lang/Object;)Z java/io/Writer 7(Lorg/postgresql/core/PGStream;Ljava/io/OutputStream;)V ((Ljava/io/OutputStream;)Ljava/io/Writer; (Ljava/lang/String;)V write append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString read ([B)I ensureBytes (I)Z getBuffer ()[B getIndex decode ([BII)Ljava/lang/String; (J)J %org/postgresql/core/EncodingPredictor '(Ljava/lang/String;Ljava/lang/String;)V :([BII)Lorg/postgresql/core/EncodingPredictor$DecodeResult; defaultEncoding scanCStringLength ([BII)I java/lang/Integer valueOf (I)Ljava/lang/Integer; org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/io/IOException;)V org/postgresql/util/PSQLState COMMUNICATION_ERROR Lorg/postgresql/util/PSQLState; 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V setSoTimeout getSoTimeout ! d R e f
h i j k l m n m o p q r s t u m v w x y ! z { | k*? *+? *,? +? :? ? 4,? ? ? ? Y,? ,?
? ? ,? ,?
? :?
*? *? ? *?? *?? ? } : @ A B D E I + J 9 K E L M N S O \ Q c R j S ~ > E ? k ? ? k h i k j k k ? ? W ? p ? ? 8 ? ? ? ? J ? ? , z ? | J *+,? ? }
_ ` ~ ? ? h i j k ? , ? ? ? ? ? | / *? ? } c ~ ? ? ? ? | / *? ? } g ~ ? ? ? ? | / *? ? } k ~ ? ? ? ? | ? B*? ? ? ?*? <*? *? ? ? ? =*? ?M>*? ?:*? ? ' . ' 8 . 1 8 8 : 8 } 6
w
x { | ~ ' ? , ~ . / ? 1 ? 6 ? 8 ? ? ? ~ / ? ? B ? ? 1 ? ? ? ? @G ?I ? ? , ? ? | ? G*+? *? ? *? Y*? ? ? ? *? Y*? ? ! ? "? #*? $? **? $? ? } ? ?
? " ? 7 ? > ? F ? ~ G ? ? G ? p ? ? F ? , ? ? | / *? $? } ? ~ ? ? ? ? | ? C*? $? *? $? %+? %? &? ?*? '?
*? '? (*+? $? )Y**? #? *M*+,? +? '? } " ? ? ? ? ' ? , ? 9 ? B ? ~ C ? ? C v w 9
? t ?
? , ? ? | Q *? '?
? ,Y-? .?*? '? } ? ? ? ~ ? ? ? ? , ? ? | A *? #? /? }
? ? ~ ? ? ? ? ? , ? ? | } 5*? |?T*? |?T*? |?T*? ?T*? #*? ? 0? } ? ? ? ! ? ) ? 4 ? ~ 5 ? ? 5 ? ? ? , ? ? | ? H? ?
?? ? ,Y? 2Y? 34? 5? 6? 7? .?*? |?T*? ?T*? #*? ? 0? } ? ? ) ? 4 ? <