public class oadd.org.apache.drill.exec.record.WritableBatch extends java.lang.Object implements java.lang.AutoCloseable { private final oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef def; private final oadd.io.netty.buffer.DrillBuf[] buffers; private boolean cleared; private void (oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef, java.util.List) { java.util.List v; java.lang.Object[] v; oadd.io.netty.buffer.DrillBuf[] v; int v; oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef v; oadd.org.apache.drill.exec.record.WritableBatch v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v := @parameter: oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef; v := @parameter: java.util.List; specialinvoke v.()>(); v. = 0; v. = v; v = interfaceinvoke v.(); v = newarray (oadd.io.netty.buffer.DrillBuf)[v]; v = interfaceinvoke v.(v); v. = v; return; } private void (oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef, oadd.io.netty.buffer.DrillBuf[]) { oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef v; oadd.io.netty.buffer.DrillBuf[] v; oadd.org.apache.drill.exec.record.WritableBatch v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v := @parameter: oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef; v := @parameter: oadd.io.netty.buffer.DrillBuf[]; specialinvoke v.()>(); v. = 0; v. = v; v. = v; return; } public oadd.org.apache.drill.exec.record.WritableBatch transfer(oadd.org.apache.drill.exec.memory.BufferAllocator) { oadd.io.netty.buffer.DrillBuf[] v; oadd.io.netty.buffer.DrillBuf$TransferResult v; oadd.org.apache.drill.exec.record.WritableBatch v, v; java.util.ArrayList v; oadd.io.netty.buffer.DrillBuf v, v; int v, v, v; oadd.org.apache.drill.exec.memory.BufferAllocator v; oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v := @parameter: oadd.org.apache.drill.exec.memory.BufferAllocator; v = new java.util.ArrayList; specialinvoke v.()>(); v = v.; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; v = virtualinvoke v.(); v = virtualinvoke v.(v); v = v.; virtualinvoke v.(v); interfaceinvoke v.(v); v = v + 1; goto label; label: virtualinvoke v.(); v = new oadd.org.apache.drill.exec.record.WritableBatch; v = v.; specialinvoke v.(oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef,java.util.List)>(v, v); return v; } public oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef getDef() { oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef v; oadd.org.apache.drill.exec.record.WritableBatch v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v = v.; return v; } public oadd.io.netty.buffer.DrillBuf[] getBuffers() { oadd.io.netty.buffer.DrillBuf[] v; oadd.org.apache.drill.exec.record.WritableBatch v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v = v.; return v; } public void reconstructContainer(oadd.org.apache.drill.exec.memory.BufferAllocator, oadd.org.apache.drill.exec.record.VectorContainer) { boolean v, v, v, v, v; oadd.io.netty.buffer.DrillBuf[] v, v, v; java.util.List v; oadd.io.netty.buffer.DrillBuf v, v, v, v; oadd.org.apache.drill.exec.memory.BufferAllocator v; oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef v, v, v, v; java.lang.Throwable v; oadd.org.apache.drill.exec.record.WritableBatch v; int v, v, v, v, v, v, v, v, v, v, v, v, v, v; oadd.org.apache.drill.exec.vector.ValueVector v; java.util.Iterator v; oadd.org.apache.drill.exec.record.VectorContainer v; oadd.org.apache.drill.exec.record.BatchSchema$SelectionVectorMode v; java.lang.Object v, v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v := @parameter: oadd.org.apache.drill.exec.memory.BufferAllocator; v := @parameter: oadd.org.apache.drill.exec.record.VectorContainer; v = v.; if v != 0 goto label; v = 1; goto label; label: v = 0; label: staticinvoke (v, "Attempted to reconstruct a container from a WritableBatch after it had been cleared"); v = v.; v = lengthof v; if v <= 0 goto label; v = 0; v = v.; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; v = virtualinvoke v.(); v = v + v; v = v + 1; goto label; label: v = interfaceinvoke v.(v); label: v = 0; v = v.; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; virtualinvoke v.(v, v); v = virtualinvoke v.(); v = v + v; virtualinvoke v.(); v = v + 1; goto label; label: v = v.; v = virtualinvoke v.(); v = 0; v = 0; v = virtualinvoke v.(); label: v = interfaceinvoke v.(); if v == 0 goto label; v = interfaceinvoke v.(); v = interfaceinvoke v.(v); v = interfaceinvoke v.(); v = virtualinvoke v.(); v = virtualinvoke v.(v, v); interfaceinvoke v.(v, v); v = v + 1; v = virtualinvoke v.(); v = v + v; goto label; label: virtualinvoke v.(1); goto label; label: v := @caughtexception; virtualinvoke v.(1); throw v; label: v = v.; v = virtualinvoke v.(); if v == 0 goto label; v = v.; v = virtualinvoke v.(); if v == 0 goto label; v = ; goto label; label: v = ; label: virtualinvoke v.(v); v = v.; v = virtualinvoke v.(); virtualinvoke v.(v); return; catch java.lang.Throwable from label to label with label; } public void clear() { oadd.io.netty.buffer.DrillBuf v; oadd.io.netty.buffer.DrillBuf[] v; int v, v; oadd.org.apache.drill.exec.record.WritableBatch v; boolean v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v = v.; if v == 0 goto label; return; label: v = v.; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; virtualinvoke v.(); v = v + 1; goto label; label: v. = 1; return; } public static oadd.org.apache.drill.exec.record.WritableBatch getBatchNoHVWrap(int, java.lang.Iterable, boolean) { java.util.Iterator v; oadd.org.apache.drill.exec.record.WritableBatch v; java.lang.Iterable v; java.util.ArrayList v; int v; java.lang.Object v; oadd.org.apache.drill.exec.vector.ValueVector v; boolean v, v, v, v; v := @parameter: int; v := @parameter: java.lang.Iterable; v := @parameter: boolean; v = new java.util.ArrayList; specialinvoke v.()>(); v = interfaceinvoke v.(); label: v = interfaceinvoke v.(); if v == 0 goto label; v = interfaceinvoke v.(); v = interfaceinvoke v.(); if v != 0 goto label; v = 1; goto label; label: v = 0; label: staticinvoke (v); v = interfaceinvoke v.(); interfaceinvoke v.(v); goto label; label: v = staticinvoke (v, v, v); return v; } public static oadd.org.apache.drill.exec.record.WritableBatch getBatchNoHV(int, java.lang.Iterable, boolean) { oadd.org.apache.drill.exec.record.WritableBatch v; java.lang.Iterable v; java.util.ArrayList v, v; int v, v, v; oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef$Builder v, v, v, v; boolean v, v; java.util.Iterator v; oadd.io.netty.buffer.DrillBuf[] v; oadd.org.apache.drill.exec.proto.UserBitShared$SerializedField v; oadd.io.netty.buffer.DrillBuf v; java.lang.Object v; oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef v; v := @parameter: int; v := @parameter: java.lang.Iterable; v := @parameter: boolean; v = new java.util.ArrayList; specialinvoke v.()>(); v = new java.util.ArrayList; specialinvoke v.()>(); v = interfaceinvoke v.(); label: v = interfaceinvoke v.(); if v == 0 goto label; v = interfaceinvoke v.(); v = interfaceinvoke v.(); interfaceinvoke v.(v); if v != 0 goto label; interfaceinvoke v.(); goto label; label: v = interfaceinvoke v.(1); v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; interfaceinvoke v.(v); v = v + 1; goto label; label: interfaceinvoke v.(); goto label; label: v = staticinvoke (); v = virtualinvoke v.(v); v = virtualinvoke v.(v); v = virtualinvoke v.(v); v = virtualinvoke v.(); v = new oadd.org.apache.drill.exec.record.WritableBatch; specialinvoke v.(oadd.org.apache.drill.exec.proto.UserBitShared$RecordBatchDef,java.util.List)>(v, v); return v; } public static oadd.org.apache.drill.exec.record.WritableBatch get(oadd.org.apache.drill.exec.record.VectorAccessible) { java.lang.UnsupportedOperationException v; oadd.org.apache.drill.exec.record.WritableBatch v; oadd.org.apache.drill.exec.record.BatchSchema$SelectionVectorMode v, v, v, v; int v; oadd.org.apache.drill.exec.record.BatchSchema v, v, v; oadd.org.apache.drill.exec.record.VectorAccessible v; boolean v; v := @parameter: oadd.org.apache.drill.exec.record.VectorAccessible; v = interfaceinvoke v.(); if v == null goto label; v = interfaceinvoke v.(); v = virtualinvoke v.(); v = ; if v != v goto label; v = new java.lang.UnsupportedOperationException; specialinvoke v.(java.lang.String)>("Only batches without hyper selections vectors are writable."); throw v; label: v = interfaceinvoke v.(); v = virtualinvoke v.(); v = ; if v != v goto label; v = 1; goto label; label: v = 0; label: v = interfaceinvoke v.(); v = staticinvoke (v, v, v); return v; } public void retainBuffers(int) { oadd.io.netty.buffer.DrillBuf v; oadd.io.netty.buffer.DrillBuf[] v; int v, v, v; oadd.org.apache.drill.exec.record.WritableBatch v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v := @parameter: int; v = v.; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; virtualinvoke v.(v); v = v + 1; goto label; label: return; } public void close() { oadd.io.netty.buffer.DrillBuf v; oadd.io.netty.buffer.DrillBuf[] v; int v, v; oadd.org.apache.drill.exec.record.WritableBatch v; v := @this: oadd.org.apache.drill.exec.record.WritableBatch; v = v.; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; virtualinvoke v.(1); v = v + 1; goto label; label: return; } }