Class TSPointsResponseParser
- java.lang.Object
-
- com.cognite.client.servicesV1.response.DefaultResponseParser
-
- com.cognite.client.servicesV1.response.TSPointsResponseParser
-
- All Implemented Interfaces:
ResponseParser<String>,Serializable
public abstract class TSPointsResponseParser extends DefaultResponseParser
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSPointsResponseParser.Builder
-
Field Summary
-
Fields inherited from class com.cognite.client.servicesV1.response.DefaultResponseParser
instanceId, LOG, MAX_LENGTH_JSON_LOG, objectMapper
-
-
Constructor Summary
Constructors Constructor Description TSPointsResponseParser()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static TSPointsResponseParser.Builderbuilder()Optional<String>extractNextCursor(String json)Extract the next cursor from a results json payload.abstract RequestgetRequest()abstract TSPointsResponseParser.BuildertoBuilder()TSPointsResponseParserwithRequest(Request parameters)-
Methods inherited from class com.cognite.client.servicesV1.response.DefaultResponseParser
extractItems, extractItems, extractNextCursor, parseToString
-
-
-
-
Method Detail
-
builder
public static TSPointsResponseParser.Builder builder()
-
toBuilder
public abstract TSPointsResponseParser.Builder toBuilder()
-
getRequest
public abstract Request getRequest()
-
withRequest
public TSPointsResponseParser withRequest(Request parameters)
-
extractNextCursor
public Optional<String> extractNextCursor(String json) throws Exception
Extract the next cursor from a results json payload.- Overrides:
extractNextCursorin classDefaultResponseParser- Parameters:
json- The results json payload- Returns:
- Throws:
IOExceptionIOExceptionException
-
-