code
stringlengths
73
34.1k
label
stringclasses
1 value
Result executeMergeStatement(Session session) { Result resultOut = null; RowSetNavigator generatedNavigator = null; PersistentStore store = session.sessionData.getRowStore(baseTable); if (generatedIndexes != null) { resultOut = Result.newUpdateCountResult(...
java
Result executeDeleteStatement(Session session) { int count = 0; RowSetNavigatorLinkedList oldRows = new RowSetNavigatorLinkedList(); RangeIterator it = RangeVariable.getIterator(session, targetRangeVariables); while (it.next()) { Row curr...
java
int delete(Session session, Table table, RowSetNavigator oldRows) { if (table.fkMainConstraints.length == 0) { deleteRows(session, table, oldRows); oldRows.beforeFirst(); if (table.hasTrigger(Trigger.DELETE_AFTER)) { table.fireAfterTriggers(session, Trigger....
java
static void mergeUpdate(HashMappedList rowSet, Row row, Object[] newData, int[] cols) { Object[] data = (Object[]) rowSet.get(row); if (data != null) { for (int j = 0; j < cols.length; j++) { data[cols[j]] = newData[cols[j]]; } ...
java
static boolean mergeKeepUpdate(Session session, HashMappedList rowSet, int[] cols, Type[] colTypes, Row row, Object[] newData) { Object[] data = (Object[]) rowSet.get(row); if (data != null) { if (IndexAVL ...
java
protected ExportRowData decodeRow(byte[] rowData) throws IOException { ExportRow row = ExportRow.decodeRow(m_legacyRow, getPartition(), m_startTS, rowData); return new ExportRowData(row.values, row.partitionValue, row.partitionId); }
java
public boolean writeRow(Object row[], CSVWriter writer, boolean skipinternal, BinaryEncoding binaryEncoding, SimpleDateFormat dateFormatter) { int firstfield = getFirstField(skipinternal); try { String[] fields = new String[m_tableSchema.size() - firstfield]; for (in...
java
public final int setPartitionColumnName(String partitionColumnName) { if (partitionColumnName == null || partitionColumnName.trim().isEmpty()) { return PARTITION_ID_INDEX; } int idx = -1; for (String name : m_source.columnNames) { if (name.equalsIgnoreCase(partiti...
java
public static void registerShutdownHook(int priority, boolean runOnCrash, Runnable action) { m_instance.addHook(priority, runOnCrash, action); //Any hook registered lets print crash messsage. ShutdownHooks.m_crashMessage = true; }
java
SocketAddress getRemoteSocketAddress() { // a lot could go wrong here, so rather than put in a bunch of code // to check for nulls all down the chain let's do it the simple // yet bulletproof way try { return ((SocketChannel) sendThread.sockKey.channel()).socket() ...
java
SocketAddress getLocalSocketAddress() { // a lot could go wrong here, so rather than put in a bunch of code // to check for nulls all down the chain let's do it the simple // yet bulletproof way try { return ((SocketChannel) sendThread.sockKey.channel()).socket() ...
java
private static String makeThreadName(String suffix) { String name = Thread.currentThread().getName() .replaceAll("-EventThread", ""); return name + suffix; }
java
public void commit(Xid xid, boolean onePhase) throws XAException { // Comment out following debug statement before public release: System.err.println("Performing a " + (onePhase ? "1-phase" : "2-phase") + " commit on " ...
java
public boolean isSameRM(XAResource xares) throws XAException { if (!(xares instanceof JDBCXAResource)) { return false; } return xaDataSource == ((JDBCXAResource) xares).getXADataSource(); }
java
public int prepare(Xid xid) throws XAException { validateXid(xid); /** * @todo: This is where the real 2-phase work should be done to * determine if a commit done here would succeed or not. */ /** * @todo: May improve performance to return XA_RDONLY whene...
java
public void rollback(Xid xid) throws XAException { JDBCXAResource resource = xaDataSource.getResource(xid); if (resource == null) { throw new XAException( "The XADataSource has no such Xid in prepared state: " + xid); } resource.rollbackThis(); }
java
private void processValue(String value) { // this Option has a separator character if (hasValueSeparator()) { // get the separator character char sep = getValueSeparator(); // store the index for the value separator int index = value.indexOf(s...
java
public boolean enterWhenUninterruptibly(Guard guard, long time, TimeUnit unit) { final long timeoutNanos = toSafeNanos(time, unit); if (guard.monitor != this) { throw new IllegalMonitorStateException(); } final ReentrantLock lock = this.lock; long startTime = 0L; boolean signalBeforeWaitin...
java
public boolean enterIfInterruptibly(Guard guard, long time, TimeUnit unit) throws InterruptedException { if (guard.monitor != this) { throw new IllegalMonitorStateException(); } final ReentrantLock lock = this.lock; if (!lock.tryLock(time, unit)) { return false; } boolean sati...
java
public boolean waitFor(Guard guard, long time, TimeUnit unit) throws InterruptedException { final long timeoutNanos = toSafeNanos(time, unit); if (!((guard.monitor == this) & lock.isHeldByCurrentThread())) { throw new IllegalMonitorStateException(); } if (guard.isSatisfied()) { return true; ...
java
public void ack(long hsId, boolean isEOS, long targetId, int blockIndex) { rejoinLog.debug("Queue ack for hsId:" + hsId + " isEOS: " + isEOS + " targetId:" + targetId + " blockIndex: " + blockIndex); m_blockIndices.offer(Pair.of(hsId, new RejoinDataAckMessage(isEOS, targetId, blockIndex)...
java
@Override public boolean absolute(int row) throws SQLException { checkClosed(); if (rowCount == 0) { if (row == 0) { return true; } return false; } if (row == 0) { beforeFirst(); return true; } ...
java
@Override public int findColumn(String columnLabel) throws SQLException { checkClosed(); try { return table.getColumnIndex(columnLabel) + 1; } catch (IllegalArgumentException iax) { throw SQLError.get(iax, SQLError.COLUMN_NOT_FOUND, columnLabel); } catch (Exce...
java
@Override public BigDecimal getBigDecimal(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { final VoltType type = table.getColumnType(columnIndex - 1); BigDecimal decimalValue = null; switch(type) { case TINYINT: ...
java
@Override public InputStream getBinaryStream(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { return new ByteArrayInputStream( table.getStringAsBytes(columnIndex - 1)); } catch (Exception x) { throw SQLError.get(x); ...
java
@Override public Blob getBlob(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { return new SerialBlob(table.getStringAsBytes(columnIndex - 1)); } catch (Exception x) { throw SQLError.get(x); } }
java
@Override public boolean getBoolean(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); // TODO: Tempting to apply a != 0 operation on numbers and // .equals("true") on strings, but... hacky try { return (new Long(table.getLong(columnIndex - 1))).intVal...
java
@Override public byte getByte(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { Long longValue = getPrivateInteger(columnIndex); if (longValue > Byte.MAX_VALUE || longValue < Byte.MIN_VALUE) { throw new SQLException("Value out of byt...
java
@Override public byte[] getBytes(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { if (table.getColumnType(columnIndex - 1) == VoltType.STRING) return table.getStringAsBytes(columnIndex - 1); else if (table.getColumnType(columnIndex ...
java
@Override public Clob getClob(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { return new SerialClob(table.getString(columnIndex - 1) .toCharArray()); } catch (Exception x) { throw SQLError.get(x); } }
java
@Override public float getFloat(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { final VoltType type = table.getColumnType(columnIndex - 1); Double doubleValue = null; switch(type) { case TINYINT: doubleValue...
java
@Override public int getInt(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { Long longValue = getPrivateInteger(columnIndex); if (longValue > Integer.MAX_VALUE || longValue < Integer.MIN_VALUE) { throw new SQLException("Value out of...
java
@Override public long getLong(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { Long longValue = getPrivateInteger(columnIndex); return longValue; } catch (Exception x) { throw SQLError.get(x); } }
java
@Override public Reader getNCharacterStream(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { String value = table.getString(columnIndex - 1); if (!wasNull()) return new StringReader(value); return null; } catch (...
java
@Override public NClob getNClob(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { return new JDBC4NClob(table.getString(columnIndex - 1) .toCharArray()); } catch (Exception x) { throw SQLError.get(x); } }
java
@Override public Object getObject(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { VoltType type = table.getColumnType(columnIndex - 1); if (type == VoltType.TIMESTAMP) return getTimestamp(columnIndex); else ...
java
@Override public short getShort(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); try { Long longValue = getPrivateInteger(columnIndex); if (longValue > Short.MAX_VALUE || longValue < Short.MIN_VALUE) { throw new SQLException("Value out of...
java
@Override @Deprecated public InputStream getUnicodeStream(int columnIndex) throws SQLException { checkColumnBounds(columnIndex); throw SQLError.noSupport(); }
java
@Override @Deprecated public InputStream getUnicodeStream(String columnLabel) throws SQLException { return getUnicodeStream(findColumn(columnLabel)); }
java
@Override public boolean last() throws SQLException { checkClosed(); if (rowCount == 0) { return false; } try { if (cursorPosition != Position.middle) { cursorPosition = Position.middle; table.resetRowPosition(); ...
java
@Override public boolean next() throws SQLException { checkClosed(); if (cursorPosition == Position.afterLast || table.getActiveRowIndex() == rowCount - 1) { cursorPosition = Position.afterLast; return false; } if (cursorPosition == Position.beforeFirst) { ...
java
@Override public boolean previous() throws SQLException { checkClosed(); if (cursorPosition == Position.afterLast) { return last(); } if (cursorPosition == Position.beforeFirst || table.getActiveRowIndex() <= 0) { beforeFirst(); return false; ...
java
@Override public boolean relative(int rows) throws SQLException { checkClosed(); if (rowCount == 0) { return false; } if (cursorPosition == Position.afterLast && rows > 0) { return false; } if (cursorPosition == Position.beforeFirst && rows <=...
java
@Override public void setFetchDirection(int direction) throws SQLException { if ((direction != FETCH_FORWARD) && (direction != FETCH_REVERSE) && (direction != FETCH_UNKNOWN)) throw SQLError.get(SQLError.ILLEGAL_STATEMENT, direction); this.fetchDirection = direction; }
java
@Override public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException { throw SQLError.noSupport(); }
java
@Override public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException { throw SQLError.noSupport(); }
java
@Override public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException { throw SQLError.noSupport(); }
java
@Override public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException { throw SQLError.noSupport(); }
java
@Override public boolean wasNull() throws SQLException { checkClosed(); try { return table.wasNull(); } catch (Exception x) { throw SQLError.get(x); } }
java
public Object[] getRowData() throws SQLException { Object[] row = new Object[columnCount]; for (int i = 1; i < columnCount + 1; i++) { row[i - 1] = getObject(i); } return row; }
java
void transformAndQueue(T event, long systemCurrentTimeMillis) { // if you're super unlucky, this blows up the stack if (rand.nextDouble() < 0.05) { // duplicate this message (note recursion means maybe more than duped) transformAndQueue(event, systemCurrentTimeMillis); } ...
java
@Override public T next(long systemCurrentTimeMillis) { // drain all the waiting messages from the source (up to 10k) while (delayed.size() < 10000) { T event = source.next(systemCurrentTimeMillis); if (event == null) { break; } transfo...
java
public int compareNames(SchemaColumn that) { String thatTbl; String thisTbl; if (m_tableAlias != null && that.m_tableAlias != null) { thisTbl = m_tableAlias; thatTbl = that.m_tableAlias; } else { thisTbl = m_tableName; thatTbl = th...
java
public SchemaColumn copyAndReplaceWithTVE(int colIndex) { TupleValueExpression newTve; if (m_expression instanceof TupleValueExpression) { newTve = (TupleValueExpression) m_expression.clone(); newTve.setColumnIndex(colIndex); } else { newTve = new Tupl...
java
@Override synchronized void offer(TransactionTask task) { Iv2Trace.logTransactionTaskQueueOffer(task); m_backlog.addLast(task); taskQueueOffer(); }
java
private boolean aquireFileLock() { // PRE: // // raf is never null and is never closed upon entry. // // Rhetorical question to self: How does one tell if a RandomAccessFile // is closed, short of invoking an operation and getting an IOException // the says its c...
java
private boolean releaseFileLock() { // Note: Closing the super class RandomAccessFile has the // side-effect of closing the file lock's FileChannel, // so we do not deal with this here. boolean success = false; if (this.fileLock == null) { success = t...
java
protected Object addOrRemove(int intKey, Object objectValue, boolean remove) { int hash = intKey; int index = hashIndex.getHashIndex(hash); int lookup = hashIndex.hashTable[index]; int lastLookup = -1; Object return...
java
protected Object removeObject(Object objectKey, boolean removeRow) { if (objectKey == null) { return null; } int hash = objectKey.hashCode(); int index = hashIndex.getHashIndex(hash); int lookup = hashIndex.hashTable[index]; int ...
java
public void clear() { if (hashIndex.modified) { accessCount = 0; accessMin = accessCount; hasZeroKey = false; zeroKeyIndex = -1; clearElementArrays(0, hashIndex.linkTable.length); hashIndex.clear(); if (minimizeOnEmpty)...
java
public int getAccessCountCeiling(int count, int margin) { return ArrayCounter.rank(accessTable, hashIndex.newNodePointer, count, accessMin + 1, accessCount, margin); }
java
protected void clear(int count, int margin) { if (margin < 64) { margin = 64; } int maxlookup = hashIndex.newNodePointer; int accessBase = getAccessCountCeiling(count, margin); for (int lookup = 0; lookup < maxlookup; lookup++) { Object o = objectKeyTa...
java
public void materialise(Session session) { PersistentStore store; // table constructors if (isDataExpression) { store = session.sessionData.getSubqueryRowStore(table); dataExpression.insertValuesIntoSubqueryTable(session, store); return; } ...
java
static public void encodeDecimal(final FastSerializer fs, BigDecimal value) throws IOException { fs.write((byte)VoltDecimalHelper.kDefaultScale); fs.write((byte)16); fs.write(VoltDecimalHelper.serializeBigDecimal(value)); }
java
static public void encodeGeographyPoint(final FastSerializer fs, GeographyPointValue value) throws IOException { final int length = GeographyPointValue.getLengthInBytes(); ByteBuffer bb = ByteBuffer.allocate(length); bb.order(ByteOrder.nativeOrder()); value.flattenToBuffer(bb); ...
java
static public void encodeGeography(final FastSerializer fs, GeographyValue value) throws IOException { ByteBuffer bb = ByteBuffer.allocate(value.getLengthInBytes()); bb.order(ByteOrder.nativeOrder()); value.flattenToBuffer(bb); byte[] array = bb.array(); fs.writeInt(array.le...
java
@SuppressWarnings("unchecked") private ImmutableMap<String, ProcedureRunnerNTGenerator> loadSystemProcedures(boolean startup) { ImmutableMap.Builder<String, ProcedureRunnerNTGenerator> builder = ImmutableMap.<String, ProcedureRunnerNTGenerator>builder(); Set<Entry<String,Config>> en...
java
@SuppressWarnings("unchecked") synchronized void update(CatalogContext catalogContext) { CatalogMap<Procedure> procedures = catalogContext.database.getProcedures(); Map<String, ProcedureRunnerNTGenerator> runnerGeneratorMap = new TreeMap<>(); for (Procedure procedure : procedures) { ...
java
synchronized void callProcedureNT(final long ciHandle, final AuthUser user, final Connection ccxn, final boolean isAdmin, final boolean ntPriority, ...
java
void handleCallbacksForFailedHosts(final Set<Integer> failedHosts) { for (ProcedureRunnerNT runner : m_outstanding.values()) { runner.processAnyCallbacksFromFailedHosts(failedHosts); } }
java
private boolean isDefinedFunctionName(String functionName) { return FunctionForVoltDB.isFunctionNameDefined(functionName) || FunctionSQL.isFunction(functionName) || FunctionCustom.getFunctionId(functionName) != ID_NOT_DEFINED || (null != m_schema.findChild("ud_fun...
java
public Object upper(Session session, Object data) { if (data == null) { return null; } if (typeCode == Types.SQL_CLOB) { String result = ((ClobData) data).getSubString(session, 0, (int) ((ClobData) data).length(session)); result = collation....
java
public void outputStartTime(final long startTimeMsec) { log.format(Locale.US, "#[StartTime: %.3f (seconds since epoch), %s]\n", startTimeMsec / 1000.0, (new Date(startTimeMsec)).toString()); }
java
public String latencyHistoReport() { ByteArrayOutputStream baos= new ByteArrayOutputStream(); PrintStream pw = null; try { pw = new PrintStream(baos, false, Charsets.UTF_8.name()); } catch (UnsupportedEncodingException e) { Throwables.propagate(e); } ...
java
public synchronized BBContainer getNextChunk() throws IOException { if (m_chunkReaderException != null) { throw m_chunkReaderException; } if (!m_hasMoreChunks.get()) { final Container c = m_availableChunks.poll(); return c; } if (m_chunkRe...
java
protected void validateSpecifiedUserAndPassword(String user, String password) throws SQLException { String configuredUser = connProperties.getProperty("user"); String configuredPassword = connProperties.getProperty("password"); if (((user == null && configuredUser != null) || (...
java
public Object setConnectionProperty(String name, String value) { return connProperties.setProperty(name, value); }
java
@Override public void start(boolean block) throws InterruptedException, ExecutionException { Future<?> task = m_es.submit(new ParentEvent(null)); if (block) { task.get(); } }
java
public Object getAggregatedValue(Session session, Object currValue) { if (currValue == null) { // A VoltDB extension APPROX_COUNT_DISTINCT return opType == OpTypes.COUNT || opType == OpTypes.APPROX_COUNT_DISTINCT ? ValuePool.INTEGER_0: null; /* disable 2 ...
java
private boolean tableListIncludesReadOnlyView(List<Table> tableList) { for (Table table : tableList) { if (table.getMaterializer() != null && !TableType.isStream(table.getMaterializer().getTabletype())) { return true; } } return false; }
java
private boolean tableListIncludesExportOnly(List<Table> tableList) { // list of all export tables (assume uppercase) NavigableSet<String> exportTables = CatalogUtil.getExportTableNames(m_catalogDb); // this loop is O(number-of-joins * number-of-export-tables) // which seems acceptable i...
java
private ParsedResultAccumulator getBestCostPlanForEphemeralScans(List<StmtEphemeralTableScan> scans) { int nextPlanId = m_planSelector.m_planId; boolean orderIsDeterministic = true; boolean hasSignificantOffsetOrLimit = false; String contentNonDeterminismMessage = null; for (Stmt...
java
private boolean getBestCostPlanForExpressionSubQueries(Set<AbstractExpression> subqueryExprs) { int nextPlanId = m_planSelector.m_planId; for (AbstractExpression expr : subqueryExprs) { assert(expr instanceof SelectSubqueryExpression); if (!(expr instanceof SelectSubqueryExpress...
java
private CompiledPlan getNextPlan() { CompiledPlan retval; AbstractParsedStmt nextStmt = null; if (m_parsedSelect != null) { nextStmt = m_parsedSelect; retval = getNextSelectPlan(); } else if (m_parsedInsert != null) { nextStmt = m_parsedInsert; ...
java
private void connectChildrenBestPlans(AbstractPlanNode parentPlan) { if (parentPlan instanceof AbstractScanPlanNode) { AbstractScanPlanNode scanNode = (AbstractScanPlanNode) parentPlan; StmtTableScan tableScan = scanNode.getTableScan(); if (tableScan instanceof StmtSubquerySc...
java
private boolean needProjectionNode (AbstractPlanNode root) { if (!root.planNodeClassNeedsProjectionNode()) { return false; } // If there is a complexGroupby at his point, it means that // display columns contain all the order by columns and // does not require another...
java
static private boolean deleteIsTruncate(ParsedDeleteStmt stmt, AbstractPlanNode plan) { if (!(plan instanceof SeqScanPlanNode)) { return false; } // Assume all index scans have filters in this context, so only consider seq scans. SeqScanPlanNode seqScanNode = (SeqScanPlanNod...
java
private static AbstractPlanNode addCoordinatorToDMLNode( AbstractPlanNode dmlRoot, boolean isReplicated) { dmlRoot = SubPlanAssembler.addSendReceivePair(dmlRoot); AbstractPlanNode sumOrLimitNode; if (isReplicated) { // Replicated table DML result doesn't need to be summed...
java
private static OrderByPlanNode buildOrderByPlanNode(List<ParsedColInfo> cols) { OrderByPlanNode n = new OrderByPlanNode(); for (ParsedColInfo col : cols) { n.addSortExpression(col.m_expression, col.m_ascending ? SortDirectionType.ASC : S...
java
private static boolean isOrderByNodeRequired(AbstractParsedStmt parsedStmt, AbstractPlanNode root) { // Only sort when the statement has an ORDER BY. if ( ! parsedStmt.hasOrderByColumns()) { return false; } // Skip the explicit ORDER BY plan step if an IndexScan is already p...
java
private static AbstractPlanNode handleOrderBy(AbstractParsedStmt parsedStmt, AbstractPlanNode root) { assert (parsedStmt instanceof ParsedSelectStmt || parsedStmt instanceof ParsedUnionStmt || parsedStmt instanceof ParsedDeleteStmt); if (! isOrderByNodeRequired(parsedStmt, root)) { ...
java
private AbstractPlanNode handleSelectLimitOperator(AbstractPlanNode root) { // The coordinator's top limit graph fragment for a MP plan. // If planning "order by ... limit", getNextSelectPlan() // will have already added an order by to the coordinator frag. // This is the only limit ...
java
private AbstractPlanNode handleUnionLimitOperator(AbstractPlanNode root) { // The coordinator's top limit graph fragment for a MP plan. // If planning "order by ... limit", getNextUnionPlan() // will have already added an order by to the coordinator frag. // This is the only limit node i...
java
private AbstractPlanNode inlineLimitOperator(AbstractPlanNode root, LimitPlanNode topLimit) { if (isInlineLimitPlanNodePossible(root)) { root.addInlinePlanNode(topLimit); } else if (root instanceof ProjectionPlanNode && isInlineLimitPlanNodePossible(root.g...
java
static private boolean isInlineLimitPlanNodePossible(AbstractPlanNode pn) { if (pn instanceof OrderByPlanNode || pn.getPlanNodeType() == PlanNodeType.AGGREGATE) { return true; } return false; }
java
private boolean switchToIndexScanForGroupBy(AbstractPlanNode candidate, IndexGroupByInfo gbInfo) { if (! m_parsedSelect.isGrouped()) { return false; } if (candidate instanceof IndexScanPlanNode) { calculateIndexGroupByInfo((IndexScanPlanNode) candidate, gbInf...
java
private AbstractPlanNode handleWindowedOperators(AbstractPlanNode root) { // Get the windowed expression. We need to set its output // schema from the display list. WindowFunctionExpression winExpr = m_parsedSelect.getWindowFunctionExpressions().get(0); assert(winExpr != null); ...
java
private static void updatePartialIndex(IndexScanPlanNode scan) { if (scan.getPredicate() == null && scan.getPartialIndexPredicate() != null) { if (scan.isForSortOrderOnly()) { scan.setPredicate(Collections.singletonList(scan.getPartialIndexPredicate())); } sca...
java
private void calculateIndexGroupByInfo(IndexScanPlanNode root, IndexGroupByInfo gbInfo) { String fromTableAlias = root.getTargetTableAlias(); assert(fromTableAlias != null); Index index = root.getCatalogIndex(); if ( ! IndexType.isScannable(index.getType())) { re...
java
private AbstractPlanNode indexAccessForGroupByExprs(SeqScanPlanNode root, IndexGroupByInfo gbInfo) { if (! root.isPersistentTableScan()) { // subquery and common tables are not handled return root; } String fromTableAlias = root.getTargetTableAlias(); ...
java