Class Trace2ThreadKey
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,Trace2ThreadKey>
io.datarouter.trace.storage.thread.Trace2ThreadKey
- All Implemented Interfaces:
io.datarouter.model.field.FieldSet<Trace2ThreadKey>,io.datarouter.model.key.Key<Trace2ThreadKey>,io.datarouter.model.key.primary.EntityPrimaryKey<Trace2EntityKey,Trace2ThreadKey>,io.datarouter.model.key.primary.PrimaryKey<Trace2ThreadKey>,io.datarouter.model.key.unique.UniqueKey<Trace2ThreadKey>,io.datarouter.model.serialize.fielder.Fielder<Trace2ThreadKey>,io.datarouter.model.serialize.fielder.PrimaryKeyFielder<Trace2ThreadKey>,java.lang.Comparable<io.datarouter.model.field.FieldSet<Trace2ThreadKey>>
public class Trace2ThreadKey extends io.datarouter.model.key.primary.base.BaseEntityPrimaryKey<Trace2EntityKey,Trace2ThreadKey>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrace2ThreadKey.FieldKeys -
Field Summary
-
Constructor Summary
Constructors Constructor Description Trace2ThreadKey()Trace2ThreadKey(io.datarouter.instrumentation.trace.Traceparent traceparent, java.lang.Long threadId)Trace2ThreadKey(Trace2EntityKey entityKey) -
Method Summary
Modifier and Type Method Description Trace2EntityKeygetEntityKey()java.lang.StringgetParentId()java.util.List<io.datarouter.model.field.Field<?>>getPostEntityKeyFields()java.lang.LonggetThreadId()Trace2ThreadKeyprefixFromEntityKey(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
-
Trace2ThreadKey
public Trace2ThreadKey() -
Trace2ThreadKey
-
Trace2ThreadKey
public Trace2ThreadKey(io.datarouter.instrumentation.trace.Traceparent traceparent, java.lang.Long threadId)
-
-
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()
-