Package io.datarouter.trace.storage.span
Class Trace2SpanKey
java.lang.Object
io.datarouter.model.field.BaseFieldSet<K>
io.datarouter.model.key.BaseKey<K>
io.datarouter.model.key.unique.BaseUniqueKey<PK>
io.datarouter.model.key.primary.BasePrimaryKey<PK>
io.datarouter.model.key.primary.base.BaseEntityPrimaryKey<Trace2EntityKey,Trace2SpanKey>
io.datarouter.trace.storage.span.Trace2SpanKey
- All Implemented Interfaces:
io.datarouter.model.field.FieldSet<Trace2SpanKey>,io.datarouter.model.key.Key<Trace2SpanKey>,io.datarouter.model.key.primary.EntityPrimaryKey<Trace2EntityKey,Trace2SpanKey>,io.datarouter.model.key.primary.PrimaryKey<Trace2SpanKey>,io.datarouter.model.key.unique.UniqueKey<Trace2SpanKey>,io.datarouter.model.serialize.fielder.Fielder<Trace2SpanKey>,io.datarouter.model.serialize.fielder.PrimaryKeyFielder<Trace2SpanKey>,java.lang.Comparable<io.datarouter.model.field.FieldSet<Trace2SpanKey>>
public class Trace2SpanKey extends io.datarouter.model.key.primary.base.BaseEntityPrimaryKey<Trace2EntityKey,Trace2SpanKey>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrace2SpanKey.FieldKeys -
Field Summary
-
Constructor Summary
Constructors Constructor Description Trace2SpanKey()Trace2SpanKey(io.datarouter.instrumentation.trace.Traceparent traceparent, java.lang.Long threadId, java.lang.Integer sequence)Trace2SpanKey(Trace2EntityKey entityKey) -
Method Summary
Modifier and Type Method Description Trace2EntityKeygetEntityKey()java.lang.StringgetParentId()java.util.List<io.datarouter.model.field.Field<?>>getPostEntityKeyFields()java.lang.IntegergetSequence()java.lang.LonggetThreadId()Trace2SpanKeyprefixFromEntityKey(Trace2EntityKey entityKey)Methods inherited from class io.datarouter.model.key.primary.base.BaseEntityPrimaryKey
getEntityKeyFields, getEntityKeyName, getFieldsMethods inherited from class io.datarouter.model.field.BaseFieldSet
compareTo, equals, getFieldNames, getFields, getFieldValue, getFieldValues, hashCode, toString
-
Constructor Details
-
Trace2SpanKey
public Trace2SpanKey() -
Trace2SpanKey
-
Trace2SpanKey
public Trace2SpanKey(io.datarouter.instrumentation.trace.Traceparent traceparent, java.lang.Long threadId, java.lang.Integer sequence)
-
-
Method Details
-
prefixFromEntityKey
-
getEntityKey
-
getPostEntityKeyFields
public java.util.List<io.datarouter.model.field.Field<?>> getPostEntityKeyFields() -
getParentId
public java.lang.String getParentId() -
getThreadId
public java.lang.Long getThreadId() -
getSequence
public java.lang.Integer getSequence()
-