/** * @see org.teiid.query.processor.relational.RelationalNode#getBatchSize() * @since 4.2 */ protected int getBatchSize() { if(this.batchSize != 0) { return this.batchSize; } return super.getBatchSize(); }
private void prefetch(SourceState toFetch, SourceState other) throws TeiidComponentException, TeiidProcessingException { toFetch.prefetch(Math.max(1l, other.getIncrementalRowCount(false)/other.getSource().getBatchSize())*toFetch.getSource().getBatchSize()); }
private void prefetch(SourceState toFetch, SourceState other) throws TeiidComponentException, TeiidProcessingException { toFetch.prefetch(Math.max(1l, other.getIncrementalRowCount(false)/other.getSource().getBatchSize())*toFetch.getSource().getBatchSize()); }
private void prefetch(SourceState toFetch, SourceState other) throws TeiidComponentException, TeiidProcessingException { toFetch.prefetch(Math.max(1l, other.getIncrementalRowCount(false)/other.getSource().getBatchSize())*toFetch.getSource().getBatchSize()); }
private boolean shouldIndexIfSmall(SourceState source) throws TeiidComponentException, TeiidProcessingException { return source.rowCountLE(source.getSource().getBatchSize() / 2); }
private boolean shouldIndexIfSmall(SourceState source) throws TeiidComponentException, TeiidProcessingException { return source.rowCountLE(source.getSource().getBatchSize() / 2); }
private boolean shouldIndexIfSmall(SourceState source) throws TeiidComponentException, TeiidProcessingException { return source.rowCountLE(source.getSource().getBatchSize() / 2); }
long rows = possibleIndex.getRowCount(); while (rows > 0) { rows/=Math.max(2, possibleIndex.getSource().getBatchSize()); depth+=1;
long rows = possibleIndex.getRowCount(); while (rows > 0) { rows/=Math.max(2, possibleIndex.getSource().getBatchSize()); depth+=1;
long rows = possibleIndex.getRowCount(); while (rows > 0) { rows/=Math.max(2, possibleIndex.getSource().getBatchSize()); depth+=1;