Skip to main content
server.RemoteViewBuilder Not exported: an exported type refers to it.

Type parameters

Constructors

constructor

• new RemoteViewBuilder<Expr, From>(relation, from, read)

Type parameters

Parameters

Properties

validator

• Readonly validator: VAny<any, "required", string>

virtualTableDefinition

• Readonly virtualTableDefinition: true

remoteViewDefinition

• Readonly remoteViewDefinition: true

expressionType

• Readonly expressionType: Expr

identityFrom

• Readonly identityFrom: From

expression

• Private Readonly expression: RelationExpression

executor

• Private Readonly executor: RemoteExecutor

localInputs

• Private Readonly localInputs: Record<string, { dataset: string ; contract: string }>

Methods

isLocal

▸ ** isLocal**(): boolean

Returns

boolean

isLocalRetained

▸ ** isLocalRetained**(): boolean

Returns

boolean

remoteExpression

▸ remoteExpression(): RelationExpression

Returns

RelationExpression

remoteDeclaration

▸ remoteDeclaration(): RemoteViewDeclaration

Returns

RemoteViewDeclaration

export

▸ export(): { fileFields: (null | string)[][] ; discovery?: string ; indexes: { indexDescriptor: string ; fields: string[] }[] ; stagedDbIndexes: Index[] ; searchIndexes: SearchIndex[] ; stagedSearchIndexes: SearchIndex[] ; vectorIndexes: VectorIndex[] ; stagedVectorIndexes: VectorIndex[] ; documentType: ValidatorJSON ; stagedDocumentType: undefined | ValidatorJSON ; access?: SerializedReadAccess ; governingRule?: SerializedGoverningRule ; source?: SourceBinding ; sourceRequirement?: SourceReadRequirement ; link?: LinkDefinition ; references?: Record<string, SerializedReference> ; retain?: SerializedRetainedCustody ; resourceRequests?: SerializedResourceRequests ; writers?: { functions: string[] } ; aggregates?: Record<string, SerializedAggregate> ; erasable?: true ; unrestricted?: SerializedUnrestricted ; spatialKeys?: SerializedSpatialKey[] } & { remoteView: RemoteViewDeclaration }

Returns

{ fileFields: (null | string)[][] ; discovery?: string ; indexes: { indexDescriptor: string ; fields: string[] }[] ; stagedDbIndexes: Index[] ; searchIndexes: SearchIndex[] ; stagedSearchIndexes: SearchIndex[] ; vectorIndexes: VectorIndex[] ; stagedVectorIndexes: VectorIndex[] ; documentType: ValidatorJSON ; stagedDocumentType: undefined | ValidatorJSON ; access?: SerializedReadAccess ; governingRule?: SerializedGoverningRule ; source?: SourceBinding ; sourceRequirement?: SourceReadRequirement ; link?: LinkDefinition ; references?: Record<string, SerializedReference> ; retain?: SerializedRetainedCustody ; resourceRequests?: SerializedResourceRequests ; writers?: { functions: string[] } ; aggregates?: Record<string, SerializedAggregate> ; erasable?: true ; unrestricted?: SerializedUnrestricted ; spatialKeys?: SerializedSpatialKey[] } & { remoteView: RemoteViewDeclaration }