@SuppressWarnings("unchecked")
  public Span build() {
    final SpanBuilder builder =
      TraceUtil.getGlobalTracer().spanBuilder(name).setSpanKind(SpanKind.INTERNAL);
    attributes.forEach((k, v) -> builder.setAttribute((AttributeKey<? super Object>) k, v));
    return builder.startSpan();
  }
Construct {@link Span} instances involving data tables.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/trace/TableSpanBuilder.java