public final class org.apache.cassandra.schema.Views implements java.lang.Iterable<org.apache.cassandra.config.ViewDefinition>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.schema.Views
super_class: java.lang.Object
{
private final com.google.common.collect.ImmutableMap<java.lang.String, org.apache.cassandra.config.ViewDefinition> views;
descriptor: Lcom/google/common/collect/ImmutableMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableMap<Ljava/lang/String;Lorg/apache/cassandra/config/ViewDefinition;>;
private void <init>(org.apache.cassandra.schema.Views$Builder);
descriptor: (Lorg/apache/cassandra/schema/Views$Builder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield org.apache.cassandra.schema.Views$Builder.views:Lcom/google/common/collect/ImmutableMap$Builder;
invokevirtual com.google.common.collect.ImmutableMap$Builder.build:()Lcom/google/common/collect/ImmutableMap;
putfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/Views;
0 3 1 builder Lorg/apache/cassandra/schema/Views$Builder;
MethodParameters:
Name Flags
builder
public static org.apache.cassandra.schema.Views$Builder builder();
descriptor: ()Lorg/apache/cassandra/schema/Views$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.cassandra.schema.Views$Builder
dup
invokespecial org.apache.cassandra.schema.Views$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.schema.Views none();
descriptor: ()Lorg/apache/cassandra/schema/Views;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.apache.cassandra.schema.Views.builder:()Lorg/apache/cassandra/schema/Views$Builder;
invokevirtual org.apache.cassandra.schema.Views$Builder.build:()Lorg/apache/cassandra/schema/Views;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Iterator<org.apache.cassandra.config.ViewDefinition> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.values:()Lcom/google/common/collect/ImmutableCollection;
invokevirtual com.google.common.collect.ImmutableCollection.iterator:()Lcom/google/common/collect/UnmodifiableIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
Signature: ()Ljava/util/Iterator<Lorg/apache/cassandra/config/ViewDefinition;>;
public java.lang.Iterable<org.apache.cassandra.config.CFMetaData> metadatas();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.values:()Lcom/google/common/collect/ImmutableCollection;
invokedynamic apply()Lcom/google/common/base/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/schema/Views.lambda$0(Lorg/apache/cassandra/config/ViewDefinition;)Lorg/apache/cassandra/config/CFMetaData; (6)
(Lorg/apache/cassandra/config/ViewDefinition;)Lorg/apache/cassandra/config/CFMetaData;
invokestatic com.google.common.collect.Iterables.transform:(Ljava/lang/Iterable;Lcom/google/common/base/Function;)Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
Signature: ()Ljava/lang/Iterable<Lorg/apache/cassandra/config/CFMetaData;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
public java.util.Optional<org.apache.cassandra.config.ViewDefinition> get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
aload 1
invokevirtual com.google.common.collect.ImmutableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ViewDefinition
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Lorg/apache/cassandra/config/ViewDefinition;>;
MethodParameters:
Name Flags
name
public org.apache.cassandra.config.ViewDefinition getNullable(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/config/ViewDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
aload 1
invokevirtual com.google.common.collect.ImmutableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ViewDefinition
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
0 1 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
MethodParameters:
Name Flags
name
public org.apache.cassandra.schema.Views with(org.apache.cassandra.config.ViewDefinition);
descriptor: (Lorg/apache/cassandra/config/ViewDefinition;)Lorg/apache/cassandra/schema/Views;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.apache.cassandra.config.ViewDefinition.viewName:Ljava/lang/String;
invokevirtual org.apache.cassandra.schema.Views.get:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Materialized View %s already exists"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.cassandra.config.ViewDefinition.viewName:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.schema.Views.builder:()Lorg/apache/cassandra/schema/Views$Builder;
aload 0
invokevirtual org.apache.cassandra.schema.Views$Builder.add:(Ljava/lang/Iterable;)Lorg/apache/cassandra/schema/Views$Builder;
aload 1
invokevirtual org.apache.cassandra.schema.Views$Builder.add:(Lorg/apache/cassandra/config/ViewDefinition;)Lorg/apache/cassandra/schema/Views$Builder;
invokevirtual org.apache.cassandra.schema.Views$Builder.build:()Lorg/apache/cassandra/schema/Views;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/Views;
0 3 1 view Lorg/apache/cassandra/config/ViewDefinition;
MethodParameters:
Name Flags
view
public org.apache.cassandra.schema.Views without(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/schema/Views;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.schema.Views.get:(Ljava/lang/String;)Ljava/util/Optional;
aload 1
invokedynamic get(Ljava/lang/String;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/cassandra/schema/Views.lambda$1(Ljava/lang/String;)Ljava/lang/IllegalStateException; (6)
()Ljava/lang/IllegalStateException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ViewDefinition
1: astore 2
start local 2 2: invokestatic org.apache.cassandra.schema.Views.builder:()Lorg/apache/cassandra/schema/Views$Builder;
aload 0
aload 2
invokedynamic apply(Lorg/apache/cassandra/config/ViewDefinition;)Lcom/google/common/base/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/apache/cassandra/schema/Views.lambda$2(Lorg/apache/cassandra/config/ViewDefinition;Lorg/apache/cassandra/config/ViewDefinition;)Z (6)
(Lorg/apache/cassandra/config/ViewDefinition;)Z
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
invokevirtual org.apache.cassandra.schema.Views$Builder.add:(Ljava/lang/Iterable;)Lorg/apache/cassandra/schema/Views$Builder;
invokevirtual org.apache.cassandra.schema.Views$Builder.build:()Lorg/apache/cassandra/schema/Views;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/Views;
0 3 1 name Ljava/lang/String;
2 3 2 materializedView Lorg/apache/cassandra/config/ViewDefinition;
MethodParameters:
Name Flags
name
public org.apache.cassandra.schema.Views replace(org.apache.cassandra.config.ViewDefinition, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/ViewDefinition;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/schema/Views;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield org.apache.cassandra.config.ViewDefinition.viewName:Ljava/lang/String;
invokevirtual org.apache.cassandra.schema.Views.without:(Ljava/lang/String;)Lorg/apache/cassandra/schema/Views;
aload 1
invokevirtual org.apache.cassandra.schema.Views.with:(Lorg/apache/cassandra/config/ViewDefinition;)Lorg/apache/cassandra/schema/Views;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
0 1 1 view Lorg/apache/cassandra/config/ViewDefinition;
0 1 2 cfm Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
view
cfm
com.google.common.collect.MapDifference<java.lang.String, org.apache.cassandra.config.ViewDefinition> diff(org.apache.cassandra.schema.Views);
descriptor: (Lorg/apache/cassandra/schema/Views;)Lcom/google/common/collect/MapDifference;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
aload 1
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
invokestatic com.google.common.collect.Maps.difference:(Ljava/util/Map;Ljava/util/Map;)Lcom/google/common/collect/MapDifference;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
0 1 1 other Lorg/apache/cassandra/schema/Views;
Signature: (Lorg/apache/cassandra/schema/Views;)Lcom/google/common/collect/MapDifference<Ljava/lang/String;Lorg/apache/cassandra/config/ViewDefinition;>;
MethodParameters:
Name Flags
other
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpeq 2
aload 1
instanceof org.apache.cassandra.schema.Views
ifeq 1
aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
aload 1
checkcast org.apache.cassandra.schema.Views
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.equals:(Ljava/lang/Object;)Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/Views;
0 3 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.Views.views:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.values:()Lcom/google/common/collect/ImmutableCollection;
invokevirtual com.google.common.collect.ImmutableCollection.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/Views;
private static org.apache.cassandra.config.CFMetaData lambda$0(org.apache.cassandra.config.ViewDefinition);
descriptor: (Lorg/apache/cassandra/config/ViewDefinition;)Lorg/apache/cassandra/config/CFMetaData;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.config.ViewDefinition.metadata:Lorg/apache/cassandra/config/CFMetaData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 view Lorg/apache/cassandra/config/ViewDefinition;
private static java.lang.IllegalStateException lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/IllegalStateException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=1, args_size=1
0: new java.lang.IllegalStateException
dup
ldc "Materialized View %s doesn't exists"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean lambda$2(org.apache.cassandra.config.ViewDefinition, org.apache.cassandra.config.ViewDefinition);
descriptor: (Lorg/apache/cassandra/config/ViewDefinition;Lorg/apache/cassandra/config/ViewDefinition;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
if_acmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 v Lorg/apache/cassandra/config/ViewDefinition;
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Lorg/apache/cassandra/config/ViewDefinition;>;
SourceFile: "Views.java"
NestMembers:
org.apache.cassandra.schema.Views$Builder
InnerClasses:
public Builder = com.google.common.collect.ImmutableMap$Builder of com.google.common.collect.ImmutableMap
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Builder = org.apache.cassandra.schema.Views$Builder of org.apache.cassandra.schema.Views