public class BroadcastableValueSets extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
BroadcastableValueSets.AncestorValue
Bean-style class to represent ancestor values locally and as Spark datasets.
|
static class |
BroadcastableValueSets.Builder |
static class |
BroadcastableValueSets.Reference
Bean-style class to represent a reference to a value set.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getReferenceNames()
Returns the reference names in the value set.
|
Map<String,Set<String>> |
getValues(String referenceName)
Returns a map of code systems to the set of code values within
those systems used by the given valueset reference.
|
boolean |
hasCode(String referenceName,
String system,
String code)
Returns true if the value set with the given reference name includes
the given code value.
|
static BroadcastableValueSets.Builder |
newBuilder()
Returns a
BroadcastableValueSets builder. |
public static BroadcastableValueSets.Builder newBuilder()
BroadcastableValueSets builder.BroadcastableValueSets builder.public boolean hasCode(String referenceName, String system, String code)
referenceName - the reference name registered for the value setsystem - the code system to check if it is containedcode - the code value to check if it is containedIllegalArgumentException - if the referenceName is not known to this objectpublic Set<String> getReferenceNames()
public Map<String,Set<String>> getValues(String referenceName)
referenceName - the reference name for which to retrieve valuesCopyright © 2020. All rights reserved.