public class org.apache.drill.common.expression.SchemaPath extends org.apache.drill.common.expression.LogicalExpressionBase
{
public static final java.lang.String DYNAMIC_STAR;
public static final org.apache.drill.common.expression.SchemaPath STAR_COLUMN;
private final org.apache.drill.common.expression.PathSegment$NameSegment rootSegment;
public void <init>(org.apache.drill.common.expression.SchemaPath)
{
org.apache.drill.common.expression.ExpressionPosition v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
org.apache.drill.common.expression.SchemaPath v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = virtualinvoke v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.ExpressionPosition getPosition()>();
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment,org.apache.drill.common.expression.ExpressionPosition)>(v, v);
return;
}
public void <init>(org.apache.drill.common.expression.PathSegment$NameSegment)
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.ExpressionPosition v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: org.apache.drill.common.expression.PathSegment$NameSegment;
v = <org.apache.drill.common.expression.ExpressionPosition: org.apache.drill.common.expression.ExpressionPosition UNKNOWN>;
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment,org.apache.drill.common.expression.ExpressionPosition)>(v, v);
return;
}
public void <init>(java.lang.String, org.apache.drill.common.expression.ExpressionPosition)
{
org.apache.drill.common.expression.ExpressionPosition v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
org.apache.drill.common.expression.SchemaPath v;
java.lang.String v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: java.lang.String;
v := @parameter: org.apache.drill.common.expression.ExpressionPosition;
v = new org.apache.drill.common.expression.PathSegment$NameSegment;
specialinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: void <init>(java.lang.CharSequence)>(v);
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment,org.apache.drill.common.expression.ExpressionPosition)>(v, v);
return;
}
public void <init>(org.apache.drill.common.expression.PathSegment$NameSegment, org.apache.drill.common.expression.ExpressionPosition)
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.ExpressionPosition v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: org.apache.drill.common.expression.PathSegment$NameSegment;
v := @parameter: org.apache.drill.common.expression.ExpressionPosition;
specialinvoke v.<org.apache.drill.common.expression.LogicalExpressionBase: void <init>(org.apache.drill.common.expression.ExpressionPosition)>(v);
v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment> = v;
return;
}
public static org.apache.drill.common.expression.SchemaPath getSimplePath(java.lang.String)
{
org.apache.drill.common.expression.SchemaPath v;
java.lang.String[] v;
java.lang.String v;
v := @parameter: java.lang.String;
v = newarray (java.lang.String)[1];
v[0] = v;
v = staticinvoke <org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.SchemaPath getCompoundPath(java.lang.String[])>(v);
return v;
}
public static transient org.apache.drill.common.expression.SchemaPath getCompoundPath(java.lang.String[])
{
int v;
org.apache.drill.common.expression.SchemaPath v;
java.lang.String[] v;
v := @parameter: java.lang.String[];
v = lengthof v;
v = staticinvoke <org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.SchemaPath getCompoundPath(int,java.lang.String[])>(v, v);
return v;
}
public static transient org.apache.drill.common.expression.SchemaPath getCompoundPath(int, java.lang.String[])
{
org.apache.drill.common.expression.SchemaPath v;
java.lang.String[] v;
org.apache.drill.common.expression.PathSegment$NameSegment v, v;
int v, v;
java.lang.String v;
boolean v;
v := @parameter: int;
v := @parameter: java.lang.String[];
if v <= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <org.apache.drill.shaded.guava.com.google.common.base.Preconditions: void checkArgument(boolean)>(v);
v = null;
v = v - 1;
label:
if v < 0 goto label;
v = new org.apache.drill.common.expression.PathSegment$NameSegment;
v = v[v];
specialinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: void <init>(java.lang.CharSequence,org.apache.drill.common.expression.PathSegment)>(v, v);
v = v;
v = v - 1;
goto label;
label:
v = new org.apache.drill.common.expression.SchemaPath;
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment)>(v);
return v;
}
public org.apache.drill.common.expression.PathSegment getLastSegment()
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.PathSegment v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
label:
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment getChild()>();
if v == null goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment getChild()>();
goto label;
label:
return v;
}
public org.apache.drill.exec.proto.UserBitShared$NamePart getAsNamePart()
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.exec.proto.UserBitShared$NamePart v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = staticinvoke <org.apache.drill.common.expression.SchemaPath: org.apache.drill.exec.proto.UserBitShared$NamePart getNamePart(org.apache.drill.common.expression.PathSegment)>(v);
return v;
}
private static org.apache.drill.exec.proto.UserBitShared$NamePart getNamePart(org.apache.drill.common.expression.PathSegment)
{
java.lang.IllegalStateException v;
org.apache.drill.exec.proto.UserBitShared$NamePart v, v;
org.apache.drill.exec.proto.UserBitShared$NamePart$Builder v;
org.apache.drill.common.expression.PathSegment v, v, v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
org.apache.drill.exec.proto.UserBitShared$NamePart$Type v, v;
java.lang.String v;
org.apache.drill.common.expression.PathSegment$ArraySegment v;
boolean v, v;
v := @parameter: org.apache.drill.common.expression.PathSegment;
if v != null goto label;
return null;
label:
v = staticinvoke <org.apache.drill.exec.proto.UserBitShared$NamePart: org.apache.drill.exec.proto.UserBitShared$NamePart$Builder newBuilder()>();
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment getChild()>();
if v == null goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment getChild()>();
v = staticinvoke <org.apache.drill.common.expression.SchemaPath: org.apache.drill.exec.proto.UserBitShared$NamePart getNamePart(org.apache.drill.common.expression.PathSegment)>(v);
if v == null goto label;
virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart$Builder: org.apache.drill.exec.proto.UserBitShared$NamePart$Builder setChild(org.apache.drill.exec.proto.UserBitShared$NamePart)>(v);
label:
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: boolean isArray()>();
if v == 0 goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment$ArraySegment getArraySegment()>();
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$ArraySegment: boolean hasIndex()>();
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("You cannot convert a indexed schema path to a NamePart.  NameParts can only reference Vectors, not individual records or values.");
throw v;
label:
v = <org.apache.drill.exec.proto.UserBitShared$NamePart$Type: org.apache.drill.exec.proto.UserBitShared$NamePart$Type ARRAY>;
virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart$Builder: org.apache.drill.exec.proto.UserBitShared$NamePart$Builder setType(org.apache.drill.exec.proto.UserBitShared$NamePart$Type)>(v);
goto label;
label:
v = <org.apache.drill.exec.proto.UserBitShared$NamePart$Type: org.apache.drill.exec.proto.UserBitShared$NamePart$Type NAME>;
virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart$Builder: org.apache.drill.exec.proto.UserBitShared$NamePart$Builder setType(org.apache.drill.exec.proto.UserBitShared$NamePart$Type)>(v);
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment$NameSegment getNameSegment()>();
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: java.lang.String getPath()>();
virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart$Builder: org.apache.drill.exec.proto.UserBitShared$NamePart$Builder setName(java.lang.String)>(v);
label:
v = virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart$Builder: org.apache.drill.exec.proto.UserBitShared$NamePart build()>();
return v;
}
private static org.apache.drill.common.expression.PathSegment getPathSegment(org.apache.drill.exec.proto.UserBitShared$NamePart)
{
org.apache.drill.exec.proto.UserBitShared$NamePart v, v;
org.apache.drill.common.expression.PathSegment v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
org.apache.drill.exec.proto.UserBitShared$NamePart$Type v, v;
java.lang.String v;
org.apache.drill.common.expression.PathSegment$ArraySegment v;
boolean v;
v := @parameter: org.apache.drill.exec.proto.UserBitShared$NamePart;
v = virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart: boolean hasChild()>();
if v == 0 goto label;
v = virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart: org.apache.drill.exec.proto.UserBitShared$NamePart getChild()>();
v = staticinvoke <org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment getPathSegment(org.apache.drill.exec.proto.UserBitShared$NamePart)>(v);
goto label;
label:
v = null;
label:
v = virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart: org.apache.drill.exec.proto.UserBitShared$NamePart$Type getType()>();
v = <org.apache.drill.exec.proto.UserBitShared$NamePart$Type: org.apache.drill.exec.proto.UserBitShared$NamePart$Type ARRAY>;
if v != v goto label;
v = new org.apache.drill.common.expression.PathSegment$ArraySegment;
specialinvoke v.<org.apache.drill.common.expression.PathSegment$ArraySegment: void <init>(org.apache.drill.common.expression.PathSegment)>(v);
return v;
label:
v = new org.apache.drill.common.expression.PathSegment$NameSegment;
v = virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart: java.lang.String getName()>();
specialinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: void <init>(java.lang.CharSequence,org.apache.drill.common.expression.PathSegment)>(v, v);
return v;
}
public static org.apache.drill.common.expression.SchemaPath create(org.apache.drill.exec.proto.UserBitShared$NamePart)
{
org.apache.drill.exec.proto.UserBitShared$NamePart v;
org.apache.drill.exec.proto.UserBitShared$NamePart$Type v, v;
org.apache.drill.common.expression.SchemaPath v;
boolean v;
org.apache.drill.common.expression.PathSegment v;
v := @parameter: org.apache.drill.exec.proto.UserBitShared$NamePart;
v = virtualinvoke v.<org.apache.drill.exec.proto.UserBitShared$NamePart: org.apache.drill.exec.proto.UserBitShared$NamePart$Type getType()>();
v = <org.apache.drill.exec.proto.UserBitShared$NamePart$Type: org.apache.drill.exec.proto.UserBitShared$NamePart$Type NAME>;
if v != v goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <org.apache.drill.shaded.guava.com.google.common.base.Preconditions: void checkArgument(boolean)>(v);
v = new org.apache.drill.common.expression.SchemaPath;
v = staticinvoke <org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment getPathSegment(org.apache.drill.exec.proto.UserBitShared$NamePart)>(v);
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment)>(v);
return v;
}
public org.apache.drill.common.expression.SchemaPath getUnIndexed()
{
org.apache.drill.common.expression.PathSegment$NameSegment v, v;
org.apache.drill.common.expression.SchemaPath v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = new org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = specialinvoke v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment getUnIndexedNameSegment(org.apache.drill.common.expression.PathSegment,org.apache.drill.common.expression.PathSegment$NameSegment)>(v, null);
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment)>(v);
return v;
}
private org.apache.drill.common.expression.PathSegment$NameSegment getUnIndexedNameSegment(org.apache.drill.common.expression.PathSegment, org.apache.drill.common.expression.PathSegment$NameSegment)
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.PathSegment v, v;
org.apache.drill.common.expression.PathSegment$NameSegment v, v, v;
java.lang.String v;
boolean v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: org.apache.drill.common.expression.PathSegment;
v := @parameter: org.apache.drill.common.expression.PathSegment$NameSegment;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: boolean isLastPath()>();
if v != 0 goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment getChild()>();
v = specialinvoke v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment getUnIndexedNameSegment(org.apache.drill.common.expression.PathSegment,org.apache.drill.common.expression.PathSegment$NameSegment)>(v, v);
label:
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: boolean isNamed()>();
if v == 0 goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment$NameSegment getNameSegment()>();
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: java.lang.String getPath()>();
v = new org.apache.drill.common.expression.PathSegment$NameSegment;
specialinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: void <init>(java.lang.CharSequence,org.apache.drill.common.expression.PathSegment)>(v, v);
return v;
label:
return v;
}
public static org.apache.drill.common.expression.SchemaPath parseFromString(java.lang.String)
{
java.lang.IllegalStateException v;
java.lang.Object[] v;
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.LogicalExpression v;
java.lang.String v, v, v;
boolean v, v, v;
v := @parameter: java.lang.String;
if v == null goto label;
v = virtualinvoke v.<java.lang.String: boolean isEmpty()>();
if v == 0 goto label;
label:
return null;
label:
v = "**";
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = staticinvoke <org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.SchemaPath getSimplePath(java.lang.String)>(v);
return v;
label:
v = staticinvoke <org.apache.drill.common.parser.LogicalExpressionParser: org.apache.drill.common.expression.LogicalExpression parse(java.lang.String)>(v);
v = v instanceof org.apache.drill.common.expression.SchemaPath;
if v == 0 goto label;
return v;
label:
v = new java.lang.IllegalStateException;
v = newarray (java.lang.Object)[1];
v[0] = v;
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>("Schema path is not a valid format: %s.", v);
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>(v);
throw v;
}
public boolean isSimplePath()
{
org.apache.drill.common.expression.SchemaPath v;
boolean v, v;
org.apache.drill.common.expression.PathSegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
label:
if v == null goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: boolean isArray()>();
if v == 0 goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: boolean isLastPath()>();
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment getChild()>();
goto label;
label:
return 1;
}
public boolean isArray()
{
org.apache.drill.common.expression.SchemaPath v;
boolean v;
org.apache.drill.common.expression.PathSegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
label:
if v == null goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: boolean isArray()>();
if v == 0 goto label;
return 1;
label:
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment getChild()>();
goto label;
label:
return 0;
}
public boolean isLeaf()
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
boolean v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: boolean isLastPath()>();
return v;
}
public boolean isDynamicStar()
{
org.apache.drill.common.expression.SchemaPath v;
boolean v, v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = virtualinvoke v.<org.apache.drill.common.expression.SchemaPath: boolean isLeaf()>();
if v == 0 goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.SchemaPath: boolean nameEquals(java.lang.String)>("**");
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean nameEquals(java.lang.String)
{
org.apache.drill.common.expression.PathSegment$NameSegment v;
org.apache.drill.common.expression.SchemaPath v;
java.lang.String v;
boolean v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: java.lang.String;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: boolean nameEquals(java.lang.String)>(v);
return v;
}
public java.lang.String rootName()
{
org.apache.drill.common.expression.SchemaPath v;
java.lang.String v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: java.lang.String getPath()>();
return v;
}
public java.lang.Object accept(org.apache.drill.common.expression.visitors.ExprVisitor, java.lang.Object) throws java.lang.Exception
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.visitors.ExprVisitor v;
java.lang.Object v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: org.apache.drill.common.expression.visitors.ExprVisitor;
v := @parameter: java.lang.Object;
v = interfaceinvoke v.<org.apache.drill.common.expression.visitors.ExprVisitor: java.lang.Object visitSchemaPath(org.apache.drill.common.expression.SchemaPath,java.lang.Object)>(v, v);
return v;
}
public org.apache.drill.common.expression.SchemaPath getChild(java.lang.String)
{
org.apache.drill.common.expression.PathSegment$NameSegment v, v, v;
org.apache.drill.common.expression.SchemaPath v, v;
java.lang.String v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: java.lang.String;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = new org.apache.drill.common.expression.PathSegment$NameSegment;
specialinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: void <init>(java.lang.CharSequence)>(v);
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: org.apache.drill.common.expression.PathSegment$NameSegment cloneWithNewChild(org.apache.drill.common.expression.PathSegment)>(v);
v = new org.apache.drill.common.expression.SchemaPath;
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment)>(v);
return v;
}
public org.apache.drill.common.expression.SchemaPath getChild(java.lang.String, java.lang.Object, org.apache.drill.common.types.TypeProtos$MajorType)
{
org.apache.drill.common.expression.SchemaPath v, v;
org.apache.drill.common.types.TypeProtos$MajorType v;
org.apache.drill.common.expression.PathSegment$NameSegment v, v, v;
java.lang.Object v;
java.lang.String v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: java.lang.String;
v := @parameter: java.lang.Object;
v := @parameter: org.apache.drill.common.types.TypeProtos$MajorType;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = new org.apache.drill.common.expression.PathSegment$NameSegment;
specialinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: void <init>(java.lang.CharSequence,java.lang.Object,org.apache.drill.common.types.TypeProtos$MajorType)>(v, v, v);
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: org.apache.drill.common.expression.PathSegment$NameSegment cloneWithNewChild(org.apache.drill.common.expression.PathSegment)>(v);
v = new org.apache.drill.common.expression.SchemaPath;
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment)>(v);
return v;
}
public org.apache.drill.common.expression.SchemaPath getChild(int)
{
org.apache.drill.common.expression.PathSegment$NameSegment v, v;
int v;
org.apache.drill.common.expression.SchemaPath v, v;
org.apache.drill.common.expression.PathSegment$ArraySegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: int;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = new org.apache.drill.common.expression.PathSegment$ArraySegment;
specialinvoke v.<org.apache.drill.common.expression.PathSegment$ArraySegment: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: org.apache.drill.common.expression.PathSegment$NameSegment cloneWithNewChild(org.apache.drill.common.expression.PathSegment)>(v);
v = new org.apache.drill.common.expression.SchemaPath;
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment)>(v);
return v;
}
public org.apache.drill.common.expression.SchemaPath getChild(int, java.lang.Object, org.apache.drill.common.types.TypeProtos$MajorType)
{
org.apache.drill.common.expression.SchemaPath v, v;
org.apache.drill.common.types.TypeProtos$MajorType v;
org.apache.drill.common.expression.PathSegment$NameSegment v, v;
int v;
java.lang.Object v;
org.apache.drill.common.expression.PathSegment$ArraySegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: int;
v := @parameter: java.lang.Object;
v := @parameter: org.apache.drill.common.types.TypeProtos$MajorType;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = new org.apache.drill.common.expression.PathSegment$ArraySegment;
specialinvoke v.<org.apache.drill.common.expression.PathSegment$ArraySegment: void <init>(int,java.lang.Object,org.apache.drill.common.types.TypeProtos$MajorType)>(v, v, v);
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: org.apache.drill.common.expression.PathSegment$NameSegment cloneWithNewChild(org.apache.drill.common.expression.PathSegment)>(v);
v = new org.apache.drill.common.expression.SchemaPath;
specialinvoke v.<org.apache.drill.common.expression.SchemaPath: void <init>(org.apache.drill.common.expression.PathSegment$NameSegment)>(v);
return v;
}
public org.apache.drill.common.expression.PathSegment$NameSegment getRootSegment()
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
return v;
}
public java.lang.String getAsUnescapedPath()
{
java.lang.IllegalStateException v;
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.expression.PathSegment v, v;
org.apache.drill.common.expression.PathSegment$NameSegment v, v;
int v;
java.lang.StringBuilder v;
java.lang.String v, v, v;
org.apache.drill.common.expression.PathSegment$ArraySegment v;
boolean v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = new java.lang.StringBuilder;
specialinvoke v.<java.lang.StringBuilder: void <init>()>();
v = virtualinvoke v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment getRootSegment()>();
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: boolean isArray()>();
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Drill doesn\'t currently support top level arrays");
throw v;
label:
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment$NameSegment getNameSegment()>();
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: java.lang.String getPath()>();
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(v);
label:
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment getChild()>();
v = v;
if v == null goto label;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: boolean isNamed()>();
if v == 0 goto label;
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(char)>(46);
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment$NameSegment getNameSegment()>();
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: java.lang.String getPath()>();
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(v);
goto label;
label:
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(char)>(91);
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment: org.apache.drill.common.expression.PathSegment$ArraySegment getArraySegment()>();
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$ArraySegment: int getIndex()>();
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(int)>(v);
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(char)>(93);
goto label;
label:
v = virtualinvoke v.<java.lang.StringBuilder: java.lang.String toString()>();
return v;
}
public org.apache.drill.common.types.TypeProtos$MajorType getMajorType()
{
org.apache.drill.common.expression.SchemaPath v;
org.apache.drill.common.types.TypeProtos$MajorType v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = <org.apache.drill.common.types.Types: org.apache.drill.common.types.TypeProtos$MajorType LATE_BIND_TYPE>;
return v;
}
public int hashCode()
{
org.apache.drill.common.expression.PathSegment$NameSegment v, v;
int v;
org.apache.drill.common.expression.SchemaPath v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
if v != null goto label;
v = 0;
goto label;
label:
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: int hashCode()>();
label:
return v;
}
public boolean equals(java.lang.Object)
{
org.apache.drill.common.expression.PathSegment$NameSegment v, v;
org.apache.drill.common.expression.SchemaPath v;
java.lang.Object v;
boolean v, v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: java.lang.Object;
if v == v goto label;
v = v instanceof org.apache.drill.common.expression.SchemaPath;
if v == 0 goto label;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = staticinvoke <java.util.Objects: boolean equals(java.lang.Object,java.lang.Object)>(v, v);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean contains(org.apache.drill.common.expression.SchemaPath)
{
org.apache.drill.common.expression.PathSegment$NameSegment v, v, v;
org.apache.drill.common.expression.SchemaPath v, v;
boolean v, v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v := @parameter: org.apache.drill.common.expression.SchemaPath;
if v == v goto label;
if v == null goto label;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
if v == null goto label;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: boolean contains(org.apache.drill.common.expression.PathSegment)>(v);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public java.util.Iterator iterator()
{
org.apache.drill.common.expression.SchemaPath v;
java.util.Iterator v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = staticinvoke <java.util.Collections: java.util.Iterator emptyIterator()>();
return v;
}
public java.lang.String toString()
{
org.apache.drill.common.expression.SchemaPath v;
java.lang.String v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = staticinvoke <org.apache.drill.common.expression.ExpressionStringBuilder: java.lang.String toString(org.apache.drill.common.expression.LogicalExpression)>(v);
return v;
}
public java.lang.String toExpr()
{
org.apache.drill.common.expression.SchemaPath v;
java.lang.String v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = staticinvoke <org.apache.drill.common.expression.ExpressionStringBuilder: java.lang.String toString(org.apache.drill.common.expression.LogicalExpression)>(v);
return v;
}
public java.lang.String getRootSegmentPath()
{
org.apache.drill.common.expression.SchemaPath v;
java.lang.String v;
org.apache.drill.common.expression.PathSegment$NameSegment v;
v := @this: org.apache.drill.common.expression.SchemaPath;
v = v.<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.PathSegment$NameSegment rootSegment>;
v = virtualinvoke v.<org.apache.drill.common.expression.PathSegment$NameSegment: java.lang.String getPath()>();
return v;
}
static void <clinit>()
{
org.apache.drill.common.expression.SchemaPath v;
v = staticinvoke <org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.SchemaPath getSimplePath(java.lang.String)>("**");
<org.apache.drill.common.expression.SchemaPath: org.apache.drill.common.expression.SchemaPath STAR_COLUMN> = v;
return;
}
}