GoogleCloudDocumentaiV1DocumentShardInfo

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentShardInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. shardCount (type: String.t, default: nil)
    - Total number of shards.
  2. shardIndex (type: String.t, default: nil)
    - The 0-based index of this shard.
  3. textOffset (type: String.t, default: nil)
    - The index of the first character in Document.text in the overall document global text.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentShardInfo{
shardCount: String.t() | nil,
shardIndex: String.t() | nil,
textOffset: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentShardInfo