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. 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)Convenience method for setting the external id for requesting an item.RequestRequest. withItemInternalId(long internalId)Convenience method for setting the external id for requesting an item.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 com.cognite.client.dto.AggregateAssets. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.com.cognite.client.dto.AggregateDatasets. aggregate(Request requestParameters)Performs an item aggregation to Cognite Data Fusion.com.cognite.client.dto.AggregateEvents. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.com.cognite.client.dto.AggregateFiles. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.com.cognite.client.dto.AggregateSequences. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.com.cognite.client.dto.AggregateTimeseries. aggregate(Request requestParameters)Performs an item aggregation request to Cognite Data Fusion.doubleDataPoints. getMaxFrequency(Request requestParameters, Instant startOfWindow, Instant endOfWindow)Calculate the max frequency of the TS items in the query.Iterator<List<com.cognite.client.dto.Asset>>Assets. list(Request requestParameters)Returns allAssetobjects that matches the filters set in theRequest.Iterator<List<com.cognite.client.dto.Asset>>Assets. list(Request requestParameters, String... partitions)Returns allAssetobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<com.cognite.client.dto.DataSet>>Datasets. list(Request requestParameters)Return allDataSetobject that matches the filters set in theRequest.Iterator<List<com.cognite.client.dto.DataSet>>Datasets. list(Request requestParameters, String... partitions)Return allDataSetobjects that matches the filters set in theRequestfor the specific partitions.Iterator<List<com.cognite.client.dto.Event>>Events. list(Request requestParameters)Returns allEventobjects that matches the filters set in theRequest.Iterator<List<com.cognite.client.dto.Event>>Events. list(Request requestParameters, String... partitions)Returns allEventobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<com.cognite.client.dto.FileMetadata>>Files. list(Request requestParameters)Returns allFileMetadataobjects that matches the filters set in theRequest.Iterator<List<com.cognite.client.dto.FileMetadata>>Files. list(Request requestParameters, String... partitions)Returns allEventobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<com.cognite.client.dto.Label>>Labels. list(Request requestParameters)Return allLabelobject that matches the filters set in theRequest.Iterator<List<com.cognite.client.dto.Label>>Labels. list(Request requestParameters, String... partitions)Returns allLabelobjects that matches the filters set in theRequestfor the specific partitions.Iterator<List<com.cognite.client.dto.RawRow>>RawRows. list(String dbName, String tableName, Request requestParameters)Returns a set of rows from a table.Iterator<List<com.cognite.client.dto.RawRow>>RawRows. list(String dbName, String tableName, Request requestParameters, String... cursors)Returns a set of rows from a table.Iterator<List<com.cognite.client.dto.RawRow>>RawRows. list(String dbName, String tableName, List<String> columns, Request requestParameters)Returns all rows from a table.Iterator<List<com.cognite.client.dto.Relationship>>Relationships. list(Request requestParameters)Returns allRelationshipobjects that matches the filters set in theRequest.Iterator<List<com.cognite.client.dto.Relationship>>Relationships. list(Request requestParameters, String... partitions)Returns allRelationshipobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<com.cognite.client.dto.SecurityCategory>>SecurityCategories. list(Request requestParameters)Return allSecurityCategoryobject that matches the filters set in theSecurityCategory.Iterator<List<com.cognite.client.dto.SecurityCategory>>SecurityCategories. list(Request requestParameters, String... partitions)Returns allSecurityCategoryobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<com.cognite.client.dto.SequenceMetadata>>Sequences. list(Request requestParameters)Return allSequenceMetadataobject that matches the filters set in theSequenceMetadata.Iterator<List<com.cognite.client.dto.SequenceMetadata>>Sequences. list(Request requestParameters, String... partitions)Returns allSequenceMetadataobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<com.cognite.client.dto.TimeseriesMetadata>>Timeseries. list(Request requestParameters)Returns allTimeseriesMetadataobject that matches the filters set in theRequest.Iterator<List<com.cognite.client.dto.TimeseriesMetadata>>Timeseries. list(Request requestParameters, String... partitions)Returns allTimeseriesMetadataobjects that matches the filters set in theRequestfor the specified partitions.Iterator<List<com.cognite.client.dto.TimeseriesPoint>>DataPoints. retrieve(Request requestParameters)Returns allTimeseriesPointobjects that matches the filters set in theRequest.Iterator<List<com.cognite.client.dto.SequenceBody>>SequenceRows. retrieve(Request requestParameters)Returns allSequenceBodyobjects (i.e.List<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<com.cognite.client.dto.EntityMatchModel>EntityMatching. create(Collection<Request> requests)Train a model that predicts matches between entities (for example, time series names to asset names).List<com.cognite.client.dto.DiagramResponse>EngineeringDiagrams. detectAnnotations(Collection<Request> requests, boolean convertToInteractive)Detect references to assets and files, etc.List<com.cognite.client.dto.EntityMatchResult>EntityMatching. predict(Collection<Request> requests)Matches a set of source entities with a set of targets via a given matching model.Iterator<List<com.cognite.client.dto.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 ResponseItems<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.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.Iterator<CompletableFuture<ResponseItems<String>>>ConnectorServiceV1. read3dModels(Request queryParameters)Fetch 3d models from Cognite.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.List<ResponseItems<com.cognite.client.dto.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<com.cognite.client.dto.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.ConnectorServiceV1.ResultFutureIterator<String>ConnectorServiceV1. readTsDatapoints(Request queryParameters)Fetch timeseries datapoints from Cognite.ConnectorServiceV1.ResultFutureIterator<com.cognite.v1.timeseries.proto.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.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)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.TSPointsReadProtoRequestProviderTSPointsReadProtoRequestProvider. withRequest(Request parameters)TSPointsRequestProviderTSPointsRequestProvider. withRequest(Request parameters)TSPointsWriteProtoRequestProviderTSPointsWriteProtoRequestProvider. withRequest(Request parameters) -
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 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>>Source. list(Request requestParameters)Returns allTobjects that matches the filters set in theRequest.
-