A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-parquetUtils.html below:

parquetUtils | API Reference | ArcGIS Maps SDK for JavaScript 4.33

ESM: import * as parquetUtils from "@arcgis/core/layers/support/parquetUtils.js";

CDN: const parquetUtils = await $arcgis.import("@arcgis/core/layers/support/parquetUtils.js");

Object: @arcgis/core/layers/support/parquetUtils

Since: ArcGIS Maps SDK for JavaScript 4.33

Provides utility functions for the ParquetLayer.

Method Overview Method Details
getParquetLayerInfo Method getParquetLayerInfo(urls, options){Promise<ParquetLayerInfo>}

Retrieves information about a ParquetLayer from the first parquet file in the specified URLs array. Throws an error if the parquet file is empty or if the information cannot be determined.

Parameters

Specification

An array of URLs pointing to parquet files. At least one url must be provided.

optional

An object specifying additional options. See the object specification table below for the properties of this object.

Specification

optional

A list of key-value pairs of parameters to append to the url.

optional

An AbortSignal to abort the executions of the remote method. If canceled, the promise will be rejected with an error named AbortError. See also AbortController.

Returns

Type Description Promise<ParquetLayerInfo> A promise that resolves to the parquet layer information.

Example

const urls = ["url-to-your-parquet-file.parquet"];
const info = await parquetUtils.getParquetLayerInfo(urls);

// create new parquet layer using the retrieved info
const layer = new ParquetLayer(info);
Type Definitions
ParquetLayerInfo Type Definition ParquetLayerInfo

Contains an information inferred from the parquet files.

Properties

A collection of URLs pointing to the parquet files.

optional

The fields derived from the parquet files.

optional

The encoding format used to store geometries in the parquet files.

optional

The geometry type of the features in the layer.

Possible Values:"point"|"polygon"|"polyline"|"multipoint"

optional

The name of the objectId field.

optional

The spatial reference of the layer.

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4