Skip to main content
Version: 4.1.0

CatalogApiService

Index

Constructors

constructor

  • new CatalogApiService(): CatalogApiService
  • Returns CatalogApiService

Properties

publicstaticreadonlySimbadHyperLink

SimbadHyperLink: { bibcode: string; mainId: string } = ...

Type declaration

  • bibcode: string
  • mainId: string

Accessors

staticInstance

  • get Instance(): CatalogApiService
  • Returns CatalogApiService

Methods

publicappendSimbadCatalog

  • appendSimbadCatalog(query: string): Promise<number>
  • Parameters

    • query: string

    Returns Promise<number>

publicappendVizierCatalog

  • appendVizierCatalog(resources: Map<string, VizierResource>): void
  • Parameters

    • resources: Map<string, VizierResource>

    Returns void

publiccancelQuery

  • cancelQuery(type: CatalogDatabase): void
  • Parameters

    • type: CatalogDatabase

    Returns void

publicgetSimbadCatalog

  • getSimbadCatalog(query: string): Promise<AxiosResponse<any, any>>
  • Parameters

    • query: string

    Returns Promise<AxiosResponse<any, any>>

loadCatalog

  • loadCatalog(fileId: number, catalogInfo: CatalogInfo, headers: ICatalogHeader[], columnData: Map<number, ProcessedColumnData>, type: CatalogType): void
  • Parameters

    • fileId: number
    • catalogInfo: CatalogInfo
    • headers: ICatalogHeader[]
    • columnData: Map<number, ProcessedColumnData>
    • type: CatalogType

    Returns void

publicqueryVizierSource

  • queryVizierSource(point: WCSPoint2D, radius: number, unit: RadiusUnits, max: number, sources: VizierResource[]): Promise<Map<string, VizierResource>>
  • Parameters

    • point: WCSPoint2D
    • radius: number
    • unit: RadiusUnits
    • max: number
    • sources: VizierResource[]

    Returns Promise<Map<string, VizierResource>>

publicqueryVizierTableName

  • queryVizierTableName(point: WCSPoint2D, radius: number, unit: RadiusUnits, keyWords: string): Promise<Map<string, VizierResource>>
  • Parameters

    • point: WCSPoint2D
    • radius: number
    • unit: RadiusUnits
    • keyWords: string

    Returns Promise<Map<string, VizierResource>>

publicresetCancelTokenSource

  • resetCancelTokenSource(type: CatalogDatabase): void
  • Parameters

    • type: CatalogDatabase

    Returns void