public class com.datastax.oss.protocol.internal.response.Error$Codec extends com.datastax.oss.protocol.internal.Message$Codec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.datastax.oss.protocol.internal.response.Error$Codec
super_class: com.datastax.oss.protocol.internal.Message$Codec
{
private final com.datastax.oss.protocol.internal.util.IntMap<com.datastax.oss.protocol.internal.response.Error$SubCodec> subCodecs;
descriptor: Lcom/datastax/oss/protocol/internal/util/IntMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/datastax/oss/protocol/internal/util/IntMap<Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;>;
public void <init>(int, com.datastax.oss.protocol.internal.response.Error$SubCodec[]);
descriptor: (I[Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
iload 1
invokespecial com.datastax.oss.protocol.internal.Message$Codec.<init>:(II)V
1: invokestatic com.datastax.oss.protocol.internal.util.IntMap.builder:()Lcom/datastax/oss/protocol/internal/util/IntMap$Builder;
astore 3
start local 3 2: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 6
StackMap locals: com.datastax.oss.protocol.internal.response.Error$Codec int com.datastax.oss.protocol.internal.response.Error$SubCodec[] com.datastax.oss.protocol.internal.util.IntMap$Builder top int int com.datastax.oss.protocol.internal.response.Error$SubCodec[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 3
aload 4
getfield com.datastax.oss.protocol.internal.response.Error$SubCodec.errorCode:I
aload 4
invokevirtual com.datastax.oss.protocol.internal.util.IntMap$Builder.put:(ILjava/lang/Object;)Lcom/datastax/oss/protocol/internal/util/IntMap$Builder;
pop
end local 4 5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 6
if_icmplt 3
7: aload 0
aload 3
invokevirtual com.datastax.oss.protocol.internal.util.IntMap$Builder.build:()Lcom/datastax/oss/protocol/internal/util/IntMap;
putfield com.datastax.oss.protocol.internal.response.Error$Codec.subCodecs:Lcom/datastax/oss/protocol/internal/util/IntMap;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/datastax/oss/protocol/internal/response/Error$Codec;
0 9 1 protocolVersion I
0 9 2 subCodecs [Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;
2 9 3 builder Lcom/datastax/oss/protocol/internal/util/IntMap$Builder<Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;>;
4 5 4 subCodec Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;
MethodParameters:
Name Flags
protocolVersion
subCodecs
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: iload 1
bipush 18
anewarray com.datastax.oss.protocol.internal.response.Error$SubCodec
dup
iconst_0
2: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
iconst_0
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
iconst_1
3: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
bipush 10
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
iconst_2
4: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
sipush 256
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
iconst_3
5: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
sipush 4097
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
iconst_4
6: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
sipush 4098
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
iconst_5
7: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
sipush 4099
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
bipush 6
8: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
sipush 8192
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
bipush 7
9: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
sipush 8448
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
bipush 8
10: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
sipush 8704
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
bipush 9
11: new com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec
dup
sipush 8960
iload 1
invokespecial com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec.<init>:(II)V
aastore
dup
bipush 10
12: new com.datastax.oss.protocol.internal.response.error.Unavailable$SubCodec
dup
iload 1
invokespecial com.datastax.oss.protocol.internal.response.error.Unavailable$SubCodec.<init>:(I)V
aastore
dup
bipush 11
13: new com.datastax.oss.protocol.internal.response.error.WriteTimeout$SubCodec
dup
iload 1
invokespecial com.datastax.oss.protocol.internal.response.error.WriteTimeout$SubCodec.<init>:(I)V
aastore
dup
bipush 12
14: new com.datastax.oss.protocol.internal.response.error.ReadTimeout$SubCodec
dup
iload 1
invokespecial com.datastax.oss.protocol.internal.response.error.ReadTimeout$SubCodec.<init>:(I)V
aastore
dup
bipush 13
15: new com.datastax.oss.protocol.internal.response.error.ReadFailure$SubCodec
dup
iload 1
invokespecial com.datastax.oss.protocol.internal.response.error.ReadFailure$SubCodec.<init>:(I)V
aastore
dup
bipush 14
16: new com.datastax.oss.protocol.internal.response.error.FunctionFailure$SubCodec
dup
iload 1
invokespecial com.datastax.oss.protocol.internal.response.error.FunctionFailure$SubCodec.<init>:(I)V
aastore
dup
bipush 15
17: new com.datastax.oss.protocol.internal.response.error.WriteFailure$SubCodec
dup
iload 1
invokespecial com.datastax.oss.protocol.internal.response.error.WriteFailure$SubCodec.<init>:(I)V
aastore
dup
bipush 16
18: new com.datastax.oss.protocol.internal.response.error.AlreadyExists$SubCodec
dup
iload 1
invokespecial com.datastax.oss.protocol.internal.response.error.AlreadyExists$SubCodec.<init>:(I)V
aastore
dup
bipush 17
19: new com.datastax.oss.protocol.internal.response.error.Unprepared$SubCodec
dup
iload 1
invokespecial com.datastax.oss.protocol.internal.response.error.Unprepared$SubCodec.<init>:(I)V
aastore
invokespecial com.datastax.oss.protocol.internal.response.Error$Codec.<init>:(I[Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;)V
20: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/datastax/oss/protocol/internal/response/Error$Codec;
0 21 1 protocolVersion I
MethodParameters:
Name Flags
protocolVersion
public <B> void encode(B, com.datastax.oss.protocol.internal.Message, com.datastax.oss.protocol.internal.PrimitiveCodec<B>);
descriptor: (Ljava/lang/Object;Lcom/datastax/oss/protocol/internal/Message;Lcom/datastax/oss/protocol/internal/PrimitiveCodec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
checkcast com.datastax.oss.protocol.internal.response.Error
astore 4
start local 4 1: aload 3
aload 4
getfield com.datastax.oss.protocol.internal.response.Error.code:I
aload 1
invokeinterface com.datastax.oss.protocol.internal.PrimitiveCodec.writeInt:(ILjava/lang/Object;)V
2: aload 0
aload 4
getfield com.datastax.oss.protocol.internal.response.Error.code:I
invokevirtual com.datastax.oss.protocol.internal.response.Error$Codec.getSubCodec:(I)Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;
aload 1
aload 2
aload 3
invokevirtual com.datastax.oss.protocol.internal.response.Error$SubCodec.encode:(Ljava/lang/Object;Lcom/datastax/oss/protocol/internal/Message;Lcom/datastax/oss/protocol/internal/PrimitiveCodec;)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/datastax/oss/protocol/internal/response/Error$Codec;
0 4 1 dest TB;
0 4 2 message Lcom/datastax/oss/protocol/internal/Message;
0 4 3 encoder Lcom/datastax/oss/protocol/internal/PrimitiveCodec<TB;>;
1 4 4 error Lcom/datastax/oss/protocol/internal/response/Error;
Signature: <B:Ljava/lang/Object;>(TB;Lcom/datastax/oss/protocol/internal/Message;Lcom/datastax/oss/protocol/internal/PrimitiveCodec<TB;>;)V
MethodParameters:
Name Flags
dest
message
encoder
public int encodedSize(com.datastax.oss.protocol.internal.Message);
descriptor: (Lcom/datastax/oss/protocol/internal/Message;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.datastax.oss.protocol.internal.response.Error
astore 2
start local 2 1: iconst_4
aload 0
aload 2
getfield com.datastax.oss.protocol.internal.response.Error.code:I
invokevirtual com.datastax.oss.protocol.internal.response.Error$Codec.getSubCodec:(I)Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;
aload 1
invokevirtual com.datastax.oss.protocol.internal.response.Error$SubCodec.encodedSize:(Lcom/datastax/oss/protocol/internal/Message;)I
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/datastax/oss/protocol/internal/response/Error$Codec;
0 2 1 message Lcom/datastax/oss/protocol/internal/Message;
1 2 2 error Lcom/datastax/oss/protocol/internal/response/Error;
MethodParameters:
Name Flags
message
public <B> com.datastax.oss.protocol.internal.Message decode(B, com.datastax.oss.protocol.internal.PrimitiveCodec<B>);
descriptor: (Ljava/lang/Object;Lcom/datastax/oss/protocol/internal/PrimitiveCodec;)Lcom/datastax/oss/protocol/internal/Message;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface com.datastax.oss.protocol.internal.PrimitiveCodec.readInt:(Ljava/lang/Object;)I
istore 3
start local 3 1: aload 0
iload 3
invokevirtual com.datastax.oss.protocol.internal.response.Error$Codec.getSubCodec:(I)Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;
aload 1
aload 2
invokevirtual com.datastax.oss.protocol.internal.response.Error$SubCodec.decode:(Ljava/lang/Object;Lcom/datastax/oss/protocol/internal/PrimitiveCodec;)Lcom/datastax/oss/protocol/internal/Message;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/datastax/oss/protocol/internal/response/Error$Codec;
0 2 1 source TB;
0 2 2 decoder Lcom/datastax/oss/protocol/internal/PrimitiveCodec<TB;>;
1 2 3 errorCode I
Signature: <B:Ljava/lang/Object;>(TB;Lcom/datastax/oss/protocol/internal/PrimitiveCodec<TB;>;)Lcom/datastax/oss/protocol/internal/Message;
MethodParameters:
Name Flags
source
decoder
private com.datastax.oss.protocol.internal.response.Error$SubCodec getSubCodec(int);
descriptor: (I)Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.datastax.oss.protocol.internal.response.Error$Codec.subCodecs:Lcom/datastax/oss/protocol/internal/util/IntMap;
iload 1
invokevirtual com.datastax.oss.protocol.internal.util.IntMap.get:(I)Ljava/lang/Object;
checkcast com.datastax.oss.protocol.internal.response.Error$SubCodec
astore 2
start local 2 1: aload 2
ifnull 2
iconst_1
goto 3
StackMap locals: com.datastax.oss.protocol.internal.response.Error$SubCodec
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "Unsupported error code: %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic com.datastax.oss.protocol.internal.ProtocolErrors.check:(ZLjava/lang/String;[Ljava/lang/Object;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/datastax/oss/protocol/internal/response/Error$Codec;
0 5 1 errorCode I
1 5 2 subCodec Lcom/datastax/oss/protocol/internal/response/Error$SubCodec;
MethodParameters:
Name Flags
errorCode
}
SourceFile: "Error.java"
NestHost: com.datastax.oss.protocol.internal.response.Error
InnerClasses:
public abstract Codec = com.datastax.oss.protocol.internal.Message$Codec of com.datastax.oss.protocol.internal.Message
public Codec = com.datastax.oss.protocol.internal.response.Error$Codec of com.datastax.oss.protocol.internal.response.Error
public SingleMessageSubCodec = com.datastax.oss.protocol.internal.response.Error$SingleMessageSubCodec of com.datastax.oss.protocol.internal.response.Error
public abstract SubCodec = com.datastax.oss.protocol.internal.response.Error$SubCodec of com.datastax.oss.protocol.internal.response.Error
public SubCodec = com.datastax.oss.protocol.internal.response.error.AlreadyExists$SubCodec of com.datastax.oss.protocol.internal.response.error.AlreadyExists
public SubCodec = com.datastax.oss.protocol.internal.response.error.FunctionFailure$SubCodec of com.datastax.oss.protocol.internal.response.error.FunctionFailure
public SubCodec = com.datastax.oss.protocol.internal.response.error.ReadFailure$SubCodec of com.datastax.oss.protocol.internal.response.error.ReadFailure
public SubCodec = com.datastax.oss.protocol.internal.response.error.ReadTimeout$SubCodec of com.datastax.oss.protocol.internal.response.error.ReadTimeout
public SubCodec = com.datastax.oss.protocol.internal.response.error.Unavailable$SubCodec of com.datastax.oss.protocol.internal.response.error.Unavailable
public SubCodec = com.datastax.oss.protocol.internal.response.error.Unprepared$SubCodec of com.datastax.oss.protocol.internal.response.error.Unprepared
public SubCodec = com.datastax.oss.protocol.internal.response.error.WriteFailure$SubCodec of com.datastax.oss.protocol.internal.response.error.WriteFailure
public SubCodec = com.datastax.oss.protocol.internal.response.error.WriteTimeout$SubCodec of com.datastax.oss.protocol.internal.response.error.WriteTimeout
public Builder = com.datastax.oss.protocol.internal.util.IntMap$Builder of com.datastax.oss.protocol.internal.util.IntMap