public class ProgramKeyMaker extends Object implements KeyMaker<Id.Program>
KeyMaker for Id.Program.| Constructor and Description |
|---|
ProgramKeyMaker() |
| Modifier and Type | Method and Description |
|---|---|
Id.Program |
getElement(MDSKey.Splitter splitter)
Given a
MDSKey.Splitter, deserialize Id from it. |
MDSKey |
getKey(Id.Program programId)
Serializes Id as MDSKey.
|
static Id.Program |
getProgramId(Id.Application applicationId) |
void |
skipKey(MDSKey.Splitter splitter)
Given
MDSKey.Splitter, skip the fields of Id. |
public static Id.Program getProgramId(Id.Application applicationId)
public MDSKey getKey(Id.Program programId)
KeyMakergetKey in interface KeyMaker<Id.Program>programId - idpublic void skipKey(MDSKey.Splitter splitter)
KeyMakerMDSKey.Splitter, skip the fields of Id. This is used during de-serialization.skipKey in interface KeyMaker<Id.Program>splitter - splitter for idpublic Id.Program getElement(MDSKey.Splitter splitter)
KeyMakerMDSKey.Splitter, deserialize Id from it.getElement in interface KeyMaker<Id.Program>splitter - splitter for idCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.