public abstract class TapMetaPolicy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TapMetaPolicy |
AUTO
Tries its best to do something sensible.
|
static TapMetaPolicy |
CADC
Uses the non-standard proposed VOSI 1.1 two-level tables endpoint.
|
static TapMetaPolicy |
TABLESET
Uses the VOSI tables endpoint.
|
static TapMetaPolicy |
TAPSCHEMA
Uses the TAP_SCHEMA tables, all data loaded at once.
|
static TapMetaPolicy |
TAPSCHEMA_C
Uses the TAP_SCHEMA tables, with columns on demand.
|
static TapMetaPolicy |
TAPSCHEMA_CF
Uses the TAP_SCHEMA tables, with columns and foreign keys on demand.
|
static TapMetaPolicy |
VIZIER
Uses the non-standard VizieR two-level tables endpoint.
|
static TapMetaPolicy |
VOSI11_MAX
Uses the proposed VOSI 1.1 one-stage (detail=max) /tables endpoint.
|
static TapMetaPolicy |
VOSI11_MIN
Uses the proposed VOSI 1.1 two-stage (detail=min) /tables endpoint.
|
static TapMetaPolicy |
VOSI11_NULL
Uses the proposed VOSI 1.1 /tables endpoint (backward compatible).
|
Modifier | Constructor and Description |
---|---|
protected |
TapMetaPolicy(java.lang.String name,
java.lang.String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract TapMetaReader |
createMetaReader(EndpointSet endpointSet,
uk.ac.starlink.util.ContentCoding coding)
Creates an object capable of acquiring TAP metadata for a TAP service
with a given set of service endpoints.
|
static TapMetaPolicy |
getDefaultInstance()
Returns an instance of this class suitable for general use.
|
java.lang.String |
getDescription()
Returns a plain text description of this object.
|
java.lang.String |
getName()
Returns the name of this object.
|
static TapMetaPolicy[] |
getStandardInstances()
Returns a list of some general-purpose concrete implementations
of this class.
|
public static final TapMetaPolicy AUTO
public static final TapMetaPolicy TABLESET
public static final TapMetaPolicy TAPSCHEMA_C
public static final TapMetaPolicy TAPSCHEMA_CF
public static final TapMetaPolicy TAPSCHEMA
public static final TapMetaPolicy VIZIER
public static final TapMetaPolicy CADC
public static final TapMetaPolicy VOSI11_MAX
public static final TapMetaPolicy VOSI11_MIN
public static final TapMetaPolicy VOSI11_NULL
protected TapMetaPolicy(java.lang.String name, java.lang.String description)
name
- short name for this instancedescription
- plain text description of this instancepublic java.lang.String getName()
public java.lang.String getDescription()
public abstract TapMetaReader createMetaReader(EndpointSet endpointSet, uk.ac.starlink.util.ContentCoding coding)
endpointSet
- locations of TAP servicescoding
- configures HTTP compression;
implementations may honour this hint but are not
required topublic static TapMetaPolicy[] getStandardInstances()
public static TapMetaPolicy getDefaultInstance()
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.