Class TableSpanBuilder
java.lang.Object
org.apache.hadoop.hbase.client.trace.TableSpanBuilder
- All Implemented Interfaces:
Supplier<io.opentelemetry.api.trace.Span>
@Private
public class TableSpanBuilder
extends Object
implements Supplier<io.opentelemetry.api.trace.Span>
Construct
Span
instances involving data tables.-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.api.trace.Span
build()
io.opentelemetry.api.trace.Span
get()
(package private) static void
populateTableNameAttributes
(Map<io.opentelemetry.api.common.AttributeKey<?>, Object> attributes, TableName tableName) Static utility method that performs the primary logic of this builder.setTableName
(TableName tableName)
-
Field Details
-
name
-
attributes
-
-
Constructor Details
-
TableSpanBuilder
-
TableSpanBuilder
-
-
Method Details
-
get
-
setName
-
setTableName
-
build
-
populateTableNameAttributes
static void populateTableNameAttributes(Map<io.opentelemetry.api.common.AttributeKey<?>, Object> attributes, TableName tableName) Static utility method that performs the primary logic of this builder. It is visible to other classes in this package so that other builders can use this functionality as a mix-in.- Parameters:
attributes
- the attributes map to be populated.tableName
- the source of attribute values.
-