Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vlkb-siav2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ViaLactea
vlkb-siav2
Commits
ac02e59f
Commit
ac02e59f
authored
8 months ago
by
Robert Butora
Browse files
Options
Downloads
Patches
Plain Diff
adds column cross-reference for service descriptor
parent
4549300a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data-discovery/src/main/java/webapi/formatfilter/ObscoreExt.java
+11
-1
11 additions, 1 deletion
...scovery/src/main/java/webapi/formatfilter/ObscoreExt.java
with
11 additions
and
1 deletion
data-discovery/src/main/java/webapi/formatfilter/ObscoreExt.java
+
11
−
1
View file @
ac02e59f
import
uk.ac.starlink.table.*
;
// ColumnInfo needed
import
uk.ac.starlink.table.*
;
// ColumnInfo needed
import
uk.ac.starlink.votable.*
;
class
ObscoreExt
class
ObscoreExt
{
{
static
private
ColumnInfo
genPubDidColInfo
()
{
ColumnInfo
colInfo
=
new
ColumnInfo
(
"obs_publisher_did"
,
String
.
class
,
"Publisher Did"
);
colInfo
.
setAuxDatum
(
new
DescribedValue
(
VOStarTable
.
ID_INFO
,
"primaryID"
));
return
colInfo
;
}
public
static
final
ColumnInfo
[]
OBSCORE_COLINFO
=
public
static
final
ColumnInfo
[]
OBSCORE_COLINFO
=
{
{
new
ColumnInfo
(
"dataproduct_type"
,
String
.
class
,
"Dataproduct Type (image|cube)"
),
new
ColumnInfo
(
"dataproduct_type"
,
String
.
class
,
"Dataproduct Type (image|cube)"
),
new
ColumnInfo
(
"calib_level"
,
Integer
.
class
,
"Calibration level"
),
new
ColumnInfo
(
"calib_level"
,
Integer
.
class
,
"Calibration level"
),
new
ColumnInfo
(
"obs_collection"
,
String
.
class
,
"Collection"
),
new
ColumnInfo
(
"obs_collection"
,
String
.
class
,
"Collection"
),
new
ColumnInfo
(
"obs_title"
,
String
.
class
,
"Title"
),
new
ColumnInfo
(
"obs_title"
,
String
.
class
,
"Title"
),
new
ColumnInfo
(
"obs_id"
,
String
.
class
,
"Observation Id"
),
new
ColumnInfo
(
"obs_id"
,
String
.
class
,
"Observation Id"
),
new
ColumnInfo
(
"obs_publisher_did"
,
String
.
class
,
"Publisher Did"
),
genPubDidColInfo
(
),
new
ColumnInfo
(
"bib_reference"
,
String
.
class
,
"Bibbliographic refererence"
),
new
ColumnInfo
(
"bib_reference"
,
String
.
class
,
"Bibbliographic refererence"
),
new
ColumnInfo
(
"data_rights"
,
String
.
class
,
"Data rights"
),
new
ColumnInfo
(
"data_rights"
,
String
.
class
,
"Data rights"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment