Uses of Class
com.cognite.client.Request
-
-
Uses of Request in com.cognite.client
Methods in com.cognite.client that return Request Modifier and Type Method Description abstract RequestRequest.Builder. build()static RequestRequest. create()RequestRequest. withAuthConfig(AuthConfig config)Sets the project configuration for a request.RequestRequest. withDatasetExternalIds(String... externalId)Convenience method for setting dataset external ids of a request.RequestRequest. withDatasetIds(long... internalId)Convenience method for setting dataset ids of a request.RequestRequest. withDbName(String dbName)Convenience method for adding the database name when reading from Cognite.Raw.RequestRequest. withFilterMetadataParameter(String key, String value)Adds a new parameter to the filter.metadata node.RequestRequest. withFilterParameter(String key, Object value)Adds a new parameter to the filter node.RequestRequest. withItemExternalId(String externalId)Deprecated.RequestRequest. withItemExternalIds(String... externalId)Convenience method for setting the external id for requesting multiple items.RequestRequest. withItemInternalId(long internalId)Deprecated.RequestRequest. withItemInternalIds(long... internalId)Convenience method for setting the external id for requesting multiple items.RequestRequest. withItems(List<? extends Map<String,Object>> items)Sets the items array to the specified input list.RequestRequest. withProtoRequestBody(com.google.protobuf.Message requestBody)Adds the complete request body as a protobuf object.RequestRequest. withRequestJson(String value)Adds the complete request parameter structure based on Json.RequestRequest. withRequestParameters(Map<String,Object> requestParameters)Adds the complete request parameter structure based on Java objects.RequestRequest. withRootParameter(String key, Object value)Adds a new parameter to the root level.RequestRequest. withTableName(String tableName)Convenience method for adding the table name when reading from Cognite.Raw.Methods in com.cognite.client with parameters of type Request Modifier and Type Method Description AggregateAssets. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.AggregateDatasets. aggregate(Request requestParameters)Performs an item aggregation to Cognite Data Fusion.AggregateEvents. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.AggregateFiles. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.AggregateSequences. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.AggregateTimeseries. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.Iterator<List<ThreeDAssetMapping>>ThreeDAssetMappings. filter(Long modelId, Long revisionId, Request requestParameters)Returns allThreeDAssetMappingobjects that matches the filters set in theRequest.Iterator<List<ThreeDNode>>ThreeDNodes. filter(Long modelId, Long revisionId, Request requestParameters)Returns allThreeDNodeobjects that matches the filters set in theRequest.Iterator<List<ThreeDNode>>ThreeDNodes. filter(Long modelId, Long revisionId, Request requestParameters, String... partitions)Returns allThreeDNodeobjects that matches the filters set in theRequest.doubleDataPoints. getMaxFrequency(Request requestParameters, Instant startOfWindow, Instant endOfWindow)Calculate the max frequency of the TS items in the query.Iterator<List<Asset>>Assets. list(Request requestParameters)Iterator<List<Asset>>Assets. list(Request requestParameters, String... partitions)Iterator<List<DataSet>>Datasets. list(Request requestParameters)Iterator<List<DataSet>>Datasets. list(Request requestParameters, String... partitions)Iterator<List<Event>>Events. list(Request requestParameters)Iterator<List<Event>>Events. list(Request requestParameters, String... partitions)Iterator<List<ExtractionPipelineRun>>ExtractionPipelineRuns. list(Request requestParameters)Returns allExtractionPipelineRunobjects that matches the filters set in theRequest.Iterator<List<ExtractionPipelineRun>>ExtractionPipelineRuns. list(Request requestParameters, String... partitions)Returns allExtractionPipelineRunobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<ExtractionPipeline>>ExtractionPipelines. list(Request requestParameters)Returns allExtractionPipelineobjects that matches the filters set in theRequest.Iterator<List<ExtractionPipeline>>ExtractionPipelines. list(Request requestParameters, String... partitions)Returns allExtractionPipelineobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<FileMetadata>>Files. list(Request requestParameters)Returns allFileMetadataobjects that matches the filters set in theRequest.Iterator<List<FileMetadata>>Files. list(Request requestParameters, String... partitions)Iterator<List<Label>>Labels. list(Request requestParameters)Iterator<List<Label>>Labels. list(Request requestParameters, String... partitions)Iterator<List<RawRow>>RawRows. list(String dbName, String tableName, Request requestParameters)Returns a set of rows from a table.Iterator<List<RawRow>>RawRows. list(String dbName, String tableName, Request requestParameters, String... cursors)Returns a set of rows from a table.Iterator<List<RawRow>>RawRows. list(String dbName, String tableName, List<String> columns, Request requestParameters)Returns all rows from a table.Iterator<List<Relationship>>Relationships. list(Request requestParameters)Returns allRelationshipobjects that matches the filters set in theRequest.Iterator<List<Relationship>>Relationships. list(Request requestParameters, String... partitions)Returns allRelationshipobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<SecurityCategory>>SecurityCategories. list(Request requestParameters)Return allSecurityCategoryobject that matches the filters set in theSecurityCategory.Iterator<List<SecurityCategory>>SecurityCategories. list(Request requestParameters, String... partitions)Returns allSecurityCategoryobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<SequenceMetadata>>Sequences. list(Request requestParameters)Return allSequenceMetadataobject that matches the filters set in theSequenceMetadata.Iterator<List<SequenceMetadata>>Sequences. list(Request requestParameters, String... partitions)Returns allSequenceMetadataobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<ThreeDAssetMapping>>ThreeDAssetMappings. list(Long modelId, Long revisionId, Request requestParameters)Returns allThreeDAssetMappingobjects that matches the filters set in theRequest.Iterator<List<ThreeDAssetMapping>>ThreeDAssetMappings. list(Long modelId, Long revisionId, Request requestParameters, String... partitions)Returns allThreeDAssetMappingobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<ThreeDModel>>ThreeDModels. list(Request requestParameters)Returns allThreeDModelobjects that matches the filters set in theRequest.Iterator<List<ThreeDModel>>ThreeDModels. list(Request requestParameters, String... partitions)Returns allThreeDModelobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<ThreeDModelRevision>>ThreeDModelsRevisions. list(Long modelId, Request requestParameters)Returns allThreeDModelRevisionobjects that matches the filters set in theRequest.Iterator<List<ThreeDModelRevision>>ThreeDModelsRevisions. list(Long modelId, Request requestParameters, String... partitions)Returns allThreeDModelRevisionobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<ThreeDNode>>ThreeDNodes. list(Long modelId, Long revisionId, Request requestParameters)Returns allThreeDNodeobjects that matches the filters set in theRequest.Iterator<List<ThreeDNode>>ThreeDNodes. list(Long modelId, Long revisionId, Request requestParameters, String... partitions)Returns allThreeDNodeobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<ThreeDNode>>ThreeDNodes. list(Long modelId, Long revisionId, Long nodeId, Request requestParameters)Returns all ancestorThreeDNodeobjects that matches the filters set in theRequest.Iterator<List<ThreeDNode>>ThreeDNodes. list(Long modelId, Long revisionId, Long nodeId, Request requestParameters, String... partitions)Returns all ancestorThreeDNodeobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<TimeseriesMetadata>>Timeseries. list(Request requestParameters)Returns allTimeseriesMetadataobject that matches the filters set in theRequest.Iterator<List<TimeseriesMetadata>>Timeseries. list(Request requestParameters, String... partitions)Returns allTimeseriesMetadataobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<Transformation.Job>>TransformationJobs. list(Request requestParameters)Returns allTransformation.Jobobject that matches the filters set in theRequest.Iterator<List<Transformation.Job>>TransformationJobs. list(Request requestParameters, String... partitions)Returns allTransformation.Jobobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<Transformation>>Transformations. list(Request requestParameters)Returns allTransformationobject that matches the filters set in theRequest.Iterator<List<Transformation>>Transformations. list(Request requestParameters, String... partitions)Returns allTransformationobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<Transformation.Schedule>>TransformationSchedules. list(Request requestParameters)Returns allTransformation.Scheduleobject that matches the filters set in theRequest.Iterator<List<Transformation.Schedule>>TransformationSchedules. list(Request requestParameters, String... partitions)Returns allTransformation.Scheduleobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<TimeseriesPoint>>DataPoints. retrieve(Request requestParameters)Returns allTimeseriesPointobjects that matches the filters set in theRequest.Iterator<List<SequenceBody>>SequenceRows. retrieve(Request requestParameters)Returns allSequenceBodyobjects (i.e.List<ThreeDOutput>ThreeDOutputs. retrieve(Long modelId, Long revisionId, Request requestParameters)List<ThreeDRevisionLog>ThreeDRevisionLogs. retrieve(Long modelId, Long revisionId, Request requestParameters)Retrieves 3D Revision Logs by modeId and revisionIdList<String>RawRows. retrieveCursors(String dbName, String tableName, int noCursors, Request requestParameters)Retrieves cursors for parallel retrieval of rows from Raw.List<String>RawRows. retrieveCursors(String dbName, String tableName, Request requestParameters)Retrieves cursors for parallel retrieval of rows from Raw.Method parameters in com.cognite.client with type arguments of type Request Modifier and Type Method Description List<EntityMatchModel>EntityMatching. create(Collection<Request> requests)Train a model that predicts matches between entities (for example, time series names to asset names).List<DiagramResponse>EngineeringDiagrams. detectAnnotations(Collection<Request> requests, boolean convertToInteractive)Detect references to assets and files, etc.List<EntityMatchResult>EntityMatching. predict(Collection<Request> requests)Matches a set of source entities with a set of targets via a given matching model.Iterator<List<SequenceBody>>SequenceRows. retrieve(List<Request> requestParametersList)Returns allSequenceBodyobjects (i.e. -
Uses of Request in com.cognite.client.servicesV1
Methods in com.cognite.client.servicesV1 with parameters of type Request Modifier and Type Method Description ConnectorServiceV1.ItemWriterConnectorServiceV1. cancelTransformationJobs(Request queryParameters)Stop running the jobResponseItems<T>Connector. execute(Request requestParameters)Executes a request against the api endpoint.ResponseItems<T>ConnectorServiceV1.AsyncJobReader. execute(Request items)Executes a request to get items and blocks the thread until all items have been downloaded.CompletableFuture<ResponseItems<T>>Connector. executeAsync(Request requestParameters)Executes a request against the api endpoint on a separate thread.CompletableFuture<ResponseItems<T>>ConnectorServiceV1.AsyncJobReader. executeAsync(Request items)Executes an item-based request to get items asynchronously.Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. filterThreeDAssetMappings(Long modelId, Long revisionId, Request requestParameters)Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. filterThreeDNodes(Long modelId, Long revisionId, Request queryParameters)ResponseItems<T>ConnectorServiceV1.AsyncJobReader. getItems(Request items)Executes a request to get items and blocks the thread until all items have been downloaded.ResponseItems<T>ConnectorServiceV1.SingleRequestItemReader. getItems(Request items)Executes a request to get items and blocks the thread until all items have been downloaded.ResponseItems<T>ItemReader. getItems(Request requestParameters)Executes a request against the api endpoint.CompletableFuture<ResponseItems<T>>ConnectorServiceV1.AsyncJobReader. getItemsAsync(Request items)Executes an item-based request to get items asynchronously.CompletableFuture<ResponseItems<T>>ConnectorServiceV1.SingleRequestItemReader. getItemsAsync(Request items)Executes an item-based request to get items asynchronously.CompletableFuture<ResponseItems<T>>ItemReader. getItemsAsync(Request requestParameters)Executes a request against the api endpoint on a separate thread.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readAssets(Request queryParameters)Read assets from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readDataSets(Request queryParameters)Fetch data sets from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readEvents(Request queryParameters)Read events from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readExtractionPipelineRuns(Request queryParameters)Read extraction pipeline runs from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readExtractionPipelines(Request queryParameters)Read extraction pipelines from Cognite.List<ResponseItems<FileBinary>>ConnectorServiceV1.FileBinaryReader. readFileBinaries(Request items)Executes an item-based request to get file binaries and blocks the thread until all files have been downloaded.CompletableFuture<List<ResponseItems<FileBinary>>>ConnectorServiceV1.FileBinaryReader. readFileBinariesAsync(Request items)Executes an item-based request to get file binaries asynchronously.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readFileHeaders(Request queryParameters)List file headers from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readLabels(Request queryParameters)Read labels from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readRawRows(Request queryParameters)Fetch Raw rows from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readRelationships(Request queryParameters)Fetch relationships from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readSecurityCategories(Request queryParameters)Read security categories from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readSequencesHeaders(Request queryParameters)Fetch sequences headers from Cognite.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readSequencesRows(Request queryParameters)Fetch sequences rows / body from Cognite.Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readThreeDAncestorNodes(Request queryParameters)Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readThreeDAssetMappings(Request requestParameters)ThreeDFileBinaryConnectorServiceV1.ThreeDFileBinaryReader. readThreeDFileBinaries(Request request)Executes an item-based request to get file binaries and blocks the thread until all files have been downloaded.CompletableFuture<ThreeDFileBinary>ConnectorServiceV1.ThreeDFileBinaryReader. readThreeDFileBinariesAsync(Request request)Executes an item-based request to get file binaries asynchronously.Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readThreeDModels(Request queryParameters)Fetch 3d models from Cognite.Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readThreeDModelsRevisions(Request queryParameters)Read 3D Models Revisions from Cognite.Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readThreeDNodes(Request queryParameters)Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readTransformationJobMetrics(Request requestParameters)List TransformationJobMetricsIterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readTransformationJobs(Request queryParameters)Filter Transformations in Cognite.Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readTransformations(Request queryParameters)Filter Transformations in Cognite.Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. readTransformationSchedules(Request requestParameters)List TransformationSchedulesConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readTsDatapoints(Request queryParameters)Fetch timeseries datapoints from Cognite.ConnectorServiceV1.ResultFutureIterator<DataPointListItem>ConnectorServiceV1. readTsDatapointsProto(Request queryParameters)Fetch timeseries datapoints from Cognite using protobuf encoding.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readTsHeaders(Request queryParameters)List timeseries headers from Cognite.ConnectorServiceV1.ItemWriterConnectorServiceV1. runTransformationJobs(Request queryParameters)Start running the job in Cognite.ResponseItems<String>ConnectorServiceV1.FileWriter. writeFile(Request fileContainerRequest)Writes file metadata and binaries and blocks the call until the file write completes.CompletableFuture<ResponseItems<String>>ConnectorServiceV1.FileWriter. writeFileAsync(Request fileContainerRequest)Writes file metadata and binaries asynchronously.ResponseItems<String>ConnectorServiceV1.ItemWriter. writeItems(Request items)Executes an item-based write request.CompletableFuture<ResponseItems<String>>ConnectorServiceV1.ItemWriter. writeItemsAsync(Request items)Executes an item-based write request asynchronously. -
Uses of Request in com.cognite.client.servicesV1.request
Methods in com.cognite.client.servicesV1.request with parameters of type Request Modifier and Type Method Description FilesUploadRequestProviderFilesUploadRequestProvider. withRequest(Request parameters)GetIdRequestProviderGetIdRequestProvider. withRequest(Request parameters)GetJobIdRequestProviderGetJobIdRequestProvider. withRequest(Request parameters)GetListRequestProviderGetListRequestProvider. withRequest(Request parameters)GetLoginRequestProviderGetLoginRequestProvider. withRequest(Request parameters)GetPlaygroundJobIdRequestProviderGetPlaygroundJobIdRequestProvider. withRequest(Request parameters)GetPlaygroundRequestProviderGetPlaygroundRequestProvider. withRequest(Request parameters)GetSimpleListRequestProviderGetSimpleListRequestProvider. withRequest(Request parameters)PostJsonListRequestProviderPostJsonListRequestProvider. withRequest(Request parameters)PostJsonRequestProviderPostJsonRequestProvider. withRequest(Request parameters)PostPlaygroundJsonListRequestProviderPostPlaygroundJsonListRequestProvider. withRequest(Request parameters)PostPlaygroundJsonRequestProviderPostPlaygroundJsonRequestProvider. withRequest(Request parameters)RawDeleteRowsRequestProviderRawDeleteRowsRequestProvider. withRequest(Request parameters)RawReadRowsCursorsRequestProviderRawReadRowsCursorsRequestProvider. withRequest(Request parameters)RawReadRowsRequestProviderRawReadRowsRequestProvider. withRequest(Request parameters)RawWriteRowsRequestProviderRawWriteRowsRequestProvider. withRequest(Request parameters)RawWriteTablesRequestProviderRawWriteTablesRequestProvider. withRequest(Request parameters)RequestProviderRequestProvider. withRequest(Request requestParameters)Set the baselineRequestto build requests from.ThreeDAncestorNodesRequestProviderThreeDAncestorNodesRequestProvider. withRequest(Request parameters)ThreeDAssetMappingsFilterRequestProviderThreeDAssetMappingsFilterRequestProvider. withRequest(Request parameters)ThreeDAssetMappingsRequestProviderThreeDAssetMappingsRequestProvider. withRequest(Request parameters)ThreeDNodesFilterRequestProviderThreeDNodesFilterRequestProvider. withRequest(Request parameters)ThreeDNodesRequestProviderThreeDNodesRequestProvider. withRequest(Request parameters)ThreeDOutputsRequestProviderThreeDOutputsRequestProvider. withRequest(Request parameters)ThreeDRequestProviderThreeDRequestProvider. withRequest(Request parameters)ThreeDRevisionLogsRequestProviderThreeDRevisionLogsRequestProvider. withRequest(Request parameters)TSPointsReadProtoRequestProviderTSPointsReadProtoRequestProvider. withRequest(Request parameters)TSPointsRequestProviderTSPointsRequestProvider. withRequest(Request parameters)TSPointsWriteProtoRequestProviderTSPointsWriteProtoRequestProvider. withRequest(Request parameters) -
Uses of Request in com.cognite.client.servicesV1.request.serializer
Methods in com.cognite.client.servicesV1.request.serializer with parameters of type Request Modifier and Type Method Description voidThreeDNodePropertiesFilterSerializer. serialize(Request request, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) -
Uses of Request in com.cognite.client.servicesV1.response
Methods in com.cognite.client.servicesV1.response that return Request Modifier and Type Method Description abstract RequestTSPointsProtoResponseParser. getRequest()abstract RequestTSPointsResponseParser. getRequest()Methods in com.cognite.client.servicesV1.response that return types with arguments of type Request Modifier and Type Method Description com.google.common.collect.ImmutableList<Request>RequestParametersResponseParser. extractItems(byte[] payload)Extract the main items from a results json payload.Methods in com.cognite.client.servicesV1.response with parameters of type Request Modifier and Type Method Description static FileBinaryResponseParserFileBinaryResponseParser. of(Request requestParameters)abstract FileBinaryResponseParser.BuilderFileBinaryResponseParser.Builder. setRequest(Request value)abstract TSPointsProtoResponseParser.BuilderTSPointsProtoResponseParser.Builder. setRequest(Request value)abstract TSPointsResponseParser.BuilderTSPointsResponseParser.Builder. setRequest(Request value)FileBinaryResponseParserFileBinaryResponseParser. withRequest(Request requestParameters)TSPointsProtoResponseParserTSPointsProtoResponseParser. withRequest(Request parameters)TSPointsResponseParserTSPointsResponseParser. withRequest(Request parameters) -
Uses of Request in com.cognite.client.servicesV1.util
Methods in com.cognite.client.servicesV1.util with parameters of type Request Modifier and Type Method Description static okhttp3.HttpUrl.BuilderApiHttpUrlBuilderUtils. defaultAPIEndpointBuilder(Request request, String endpoint, String apiVersion)Returns a HttpUrl.Builder pre-filled with the host address, the resource and the endpoint for the given inner parameters.static okhttp3.HttpUrl.BuilderApiHttpUrlBuilderUtils. defaultHostURLBuilder(Request request, String endpoint)Returns a HttpUrl.Builder pre-filled with the host address.static Optional<Duration>TSIterationUtilities. getAggregateGranularityDuration(Request requestParameters)Parses the aggregate duration (minute, hour, day, etc.) from a TS datapoints request.static Optional<Long>TSIterationUtilities. getEndAsMillis(Request requestParameters)Parses the end attribute from a TS datapoints request and returns it as millis since epoch.static Optional<Long>TSIterationUtilities. getStartAsMillis(Request requestParameters)Parses the start attribute from a TS datapoints request and returns it as millis since epoch. -
Uses of Request in com.cognite.client.stream
Methods in com.cognite.client.stream with parameters of type Request Modifier and Type Method Description Iterator<List<T>>ListSource. list(Request requestParameters)Returns allTobjects that matches the filters set in theRequest.Publisher<T>Publisher. withRequest(Request request)Sets a baselineRequestto use when producing the steam of objects.
-