public class org.hibernate.metamodel.relational.Index extends org.hibernate.metamodel.relational.AbstractConstraint implements org.hibernate.metamodel.relational.Constraint
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.metamodel.relational.Index
super_class: org.hibernate.metamodel.relational.AbstractConstraint
{
protected void <init>(org.hibernate.metamodel.relational.Table, java.lang.String);
descriptor: (Lorg/hibernate/metamodel/relational/Table;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.hibernate.metamodel.relational.AbstractConstraint.<init>:(Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/metamodel/relational/Index;
0 2 1 table Lorg/hibernate/metamodel/relational/Table;
0 2 2 name Ljava/lang/String;
MethodParameters:
Name Flags
table
name
public java.lang.String getExportIdentifier();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.hibernate.metamodel.relational.Index.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getLoggableValueQualifier:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc ".IDX"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual org.hibernate.metamodel.relational.Index.getColumns:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.hibernate.metamodel.relational.Index java.lang.StringBuilder top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.metamodel.relational.Column
astore 2
start local 2 4: aload 1
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 2
invokevirtual org.hibernate.metamodel.relational.Column.getColumnName:()Lorg/hibernate/metamodel/relational/Identifier;
invokevirtual org.hibernate.metamodel.relational.Identifier.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/metamodel/relational/Index;
1 7 1 sb Ljava/lang/StringBuilder;
4 5 2 column Lorg/hibernate/metamodel/relational/Column;
public java.lang.String[] sqlCreateStrings(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
1: aload 1
aload 0
invokevirtual org.hibernate.metamodel.relational.Index.getName:()Ljava/lang/String;
aload 0
invokevirtual org.hibernate.metamodel.relational.Index.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
aload 0
invokevirtual org.hibernate.metamodel.relational.Index.getColumns:()Ljava/lang/Iterable;
iconst_0
2: invokestatic org.hibernate.metamodel.relational.Index.buildSqlCreateIndexString:(Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/Iterable;Z)Ljava/lang/String;
aastore
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/metamodel/relational/Index;
0 4 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public static java.lang.String buildSqlCreateIndexString(org.hibernate.dialect.Dialect, java.lang.String, org.hibernate.metamodel.relational.TableSpecification, java.lang.Iterable<org.hibernate.metamodel.relational.Column>, boolean);
descriptor: (Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/Iterable;Z)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.StringBuilder
dup
ldc "create"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: iload 4
ifeq 3
2: ldc " unique"
goto 4
3: StackMap locals:
StackMap stack: java.lang.StringBuilder
ldc ""
4: StackMap locals: org.hibernate.dialect.Dialect java.lang.String org.hibernate.metamodel.relational.TableSpecification java.lang.Iterable int
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc " index "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
invokevirtual org.hibernate.dialect.Dialect.qualifyIndexName:()Z
ifeq 8
7: aload 1
goto 9
8: StackMap locals:
StackMap stack: java.lang.StringBuilder
aload 1
invokestatic org.hibernate.internal.util.StringHelper.unqualify:(Ljava/lang/String;)Ljava/lang/String;
9: StackMap locals: org.hibernate.dialect.Dialect java.lang.String org.hibernate.metamodel.relational.TableSpecification java.lang.Iterable int
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc " on "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: aload 2
aload 0
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getQualifiedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: astore 5
start local 5 14: iconst_1
istore 6
start local 6 15: aload 3
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 8
goto 22
StackMap locals: org.hibernate.dialect.Dialect java.lang.String org.hibernate.metamodel.relational.TableSpecification java.lang.Iterable int java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
16: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.metamodel.relational.Column
astore 7
start local 7 17: iload 6
ifeq 20
18: iconst_0
istore 6
19: goto 21
20: StackMap locals: org.hibernate.dialect.Dialect java.lang.String org.hibernate.metamodel.relational.TableSpecification java.lang.Iterable int java.lang.StringBuilder int org.hibernate.metamodel.relational.Column java.util.Iterator
StackMap stack:
aload 5
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 5
aload 7
invokevirtual org.hibernate.metamodel.relational.Column.getColumnName:()Lorg/hibernate/metamodel/relational/Identifier;
aload 0
invokevirtual org.hibernate.metamodel.relational.Identifier.encloseInQuotesIfQuoted:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 22: StackMap locals: org.hibernate.dialect.Dialect java.lang.String org.hibernate.metamodel.relational.TableSpecification java.lang.Iterable int java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
23: aload 5
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 dialect Lorg/hibernate/dialect/Dialect;
0 25 1 name Ljava/lang/String;
0 25 2 table Lorg/hibernate/metamodel/relational/TableSpecification;
0 25 3 columns Ljava/lang/Iterable<Lorg/hibernate/metamodel/relational/Column;>;
0 25 4 unique Z
14 25 5 buf Ljava/lang/StringBuilder;
15 25 6 first Z
17 22 7 column Lorg/hibernate/metamodel/relational/Column;
Signature: (Lorg/hibernate/dialect/Dialect;Ljava/lang/String;Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/Iterable<Lorg/hibernate/metamodel/relational/Column;>;Z)Ljava/lang/String;
MethodParameters:
Name Flags
dialect
name
table
columns
unique
public static java.lang.String buildSqlDropIndexString(org.hibernate.dialect.Dialect, org.hibernate.metamodel.relational.TableSpecification, java.lang.String);
descriptor: (Lorg/hibernate/dialect/Dialect;Lorg/hibernate/metamodel/relational/TableSpecification;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
ldc "drop index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 1
aload 0
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getQualifiedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
2: aload 2
3: invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 dialect Lorg/hibernate/dialect/Dialect;
0 5 1 table Lorg/hibernate/metamodel/relational/TableSpecification;
0 5 2 name Ljava/lang/String;
MethodParameters:
Name Flags
dialect
table
name
public java.lang.String sqlConstraintStringInAlterTable(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc " index ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: aload 0
invokevirtual org.hibernate.metamodel.relational.Index.getColumns:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.hibernate.metamodel.relational.Index org.hibernate.dialect.Dialect java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.metamodel.relational.Column
astore 4
start local 4 4: iload 3
ifeq 7
5: iconst_0
istore 3
6: goto 8
7: StackMap locals: org.hibernate.metamodel.relational.Index org.hibernate.dialect.Dialect java.lang.StringBuilder int org.hibernate.metamodel.relational.Column java.util.Iterator
StackMap stack:
aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 2
aload 4
invokevirtual org.hibernate.metamodel.relational.Column.getColumnName:()Lorg/hibernate/metamodel/relational/Identifier;
aload 1
invokevirtual org.hibernate.metamodel.relational.Identifier.encloseInQuotesIfQuoted:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 9: StackMap locals: org.hibernate.metamodel.relational.Index org.hibernate.dialect.Dialect java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: aload 2
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/metamodel/relational/Index;
0 11 1 dialect Lorg/hibernate/dialect/Dialect;
1 11 2 buf Ljava/lang/StringBuilder;
2 11 3 first Z
4 9 4 column Lorg/hibernate/metamodel/relational/Column;
MethodParameters:
Name Flags
dialect
public java.lang.String[] sqlDropStrings(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
1: new java.lang.StringBuilder
dup
ldc "drop index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
invokevirtual org.hibernate.metamodel.relational.Index.getTable:()Lorg/hibernate/metamodel/relational/TableSpecification;
aload 1
invokeinterface org.hibernate.metamodel.relational.TableSpecification.getQualifiedName:(Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
3: aload 0
invokevirtual org.hibernate.metamodel.relational.Index.getName:()Ljava/lang/String;
4: invokestatic org.hibernate.internal.util.StringHelper.qualify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
7: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/metamodel/relational/Index;
0 8 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
}
SourceFile: "Index.java"