Enum R2dbcSqlAttributesGetter

java.lang.Object
java.lang.Enum<R2dbcSqlAttributesGetter>
io.opentelemetry.instrumentation.r2dbc.v1_0.internal.R2dbcSqlAttributesGetter
All Implemented Interfaces:
io.opentelemetry.instrumentation.api.instrumenter.db.DbClientCommonAttributesGetter<DbExecution>, io.opentelemetry.instrumentation.api.instrumenter.db.SqlClientAttributesGetter<DbExecution>, Serializable, Comparable<R2dbcSqlAttributesGetter>, java.lang.constant.Constable

public enum R2dbcSqlAttributesGetter extends Enum<R2dbcSqlAttributesGetter> implements io.opentelemetry.instrumentation.api.instrumenter.db.SqlClientAttributesGetter<DbExecution>
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Enum Constant Details

  • Method Details

    • values

      public static R2dbcSqlAttributesGetter[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static R2dbcSqlAttributesGetter valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getSystem

      public String getSystem(DbExecution request)
      Specified by:
      getSystem in interface io.opentelemetry.instrumentation.api.instrumenter.db.DbClientCommonAttributesGetter<DbExecution>
    • getUser

      @Nullable public String getUser(DbExecution request)
      Specified by:
      getUser in interface io.opentelemetry.instrumentation.api.instrumenter.db.DbClientCommonAttributesGetter<DbExecution>
    • getName

      @Nullable public String getName(DbExecution request)
      Specified by:
      getName in interface io.opentelemetry.instrumentation.api.instrumenter.db.DbClientCommonAttributesGetter<DbExecution>
    • getConnectionString

      @Nullable public String getConnectionString(DbExecution request)
      Specified by:
      getConnectionString in interface io.opentelemetry.instrumentation.api.instrumenter.db.DbClientCommonAttributesGetter<DbExecution>
    • getRawStatement

      @Nullable public String getRawStatement(DbExecution request)
      Specified by:
      getRawStatement in interface io.opentelemetry.instrumentation.api.instrumenter.db.SqlClientAttributesGetter<DbExecution>