Package codes.grow.packages.skywalking
Record Class SkyWalkingCapabilities
java.lang.Object
java.lang.Record
codes.grow.packages.skywalking.SkyWalkingCapabilities
- Record Components:
queryTracesV2-queryTraces(whole traces) is availablelogsByKeywords- the log store honourskeywordsOfContent(false on BanyanDB)
Optional query features of the connected OAP (GraphQL
hasQueryTracesV2Support,
supportQueryLogsByKeywords), probed once per client.-
Constructor Summary
ConstructorsConstructorDescriptionSkyWalkingCapabilities(boolean queryTracesV2, boolean logsByKeywords) Creates an instance of aSkyWalkingCapabilitiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thelogsByKeywordsrecord component.booleanReturns the value of thequeryTracesV2record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SkyWalkingCapabilities
public SkyWalkingCapabilities(boolean queryTracesV2, boolean logsByKeywords) Creates an instance of aSkyWalkingCapabilitiesrecord class.- Parameters:
queryTracesV2- the value for thequeryTracesV2record componentlogsByKeywords- the value for thelogsByKeywordsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
queryTracesV2
public boolean queryTracesV2()Returns the value of thequeryTracesV2record component.- Returns:
- the value of the
queryTracesV2record component
-
logsByKeywords
public boolean logsByKeywords()Returns the value of thelogsByKeywordsrecord component.- Returns:
- the value of the
logsByKeywordsrecord component
-