default List<Record> readRecordsDebuggable(final RecordCondition condition,
                                               final String valueColumnName,
                                               final Duration duration) throws IOException {
        DebuggingTraceContext traceContext = DebuggingTraceContext.TRACE_CONTEXT.get();
        DebuggingSpan span = null;
        try {
            if (traceContext != null) {
                span = traceContext.createSpan("Query Dao: readRecords");
                span.setMsg("Condition: RecordCondition: " + condition + ", ValueColumnName: " + valueColumnName + ", Duration: " + duration);
            }
            return readRecords(condition, valueColumnName, duration);
        } finally {
            if (traceContext != null && span != null) {
                traceContext.stopSpan(span);
            }
        }
    }
Query the records sampled by {@link Stream} = {@link TopNStreamProcessor}

@since 8.0.0
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/storage/query/IRecordsQueryDAO.java