public class TempMetadataStore extends Object implements Serializable
| Constructor and Description |
|---|
TempMetadataStore()
Constructor for TempMetadataStore.
|
TempMetadataStore(NavigableMap<String,TempMetadataID> data)
Constructor for TempMetadataStore that takes a set of data to use.
|
| Modifier and Type | Method and Description |
|---|---|
TempMetadataID |
addElementSymbolToTempGroup(String tempGroup,
Expression symbol)
Add a element symbol to the already created temp group.
|
void |
addElementToTempGroup(String tempGroup,
ElementSymbol symbol) |
TempMetadataID |
addTempGroup(String tempGroup,
List tempSymbols)
Add a temp group and all it's elements
|
TempMetadataID |
addTempGroup(String tempGroup,
List<? extends Expression> tempSymbols,
boolean isVirtual,
boolean isTempTable)
Add a temp group and all it's elements
|
TempMetadataID |
addTempGroup(String tempGroup,
List tempSymbols,
boolean isVirtual)
Add a temp group and all it's elements
|
TempMetadataStore |
clone() |
NavigableMap<String,TempMetadataID> |
getData()
Get all temp group and element metadata
|
List<TempMetadataID> |
getTempElementElementIDs(String tempGroup)
Get temporary element ID based on group and element name parts
|
TempMetadataID |
getTempElementID(String tempElement)
Get temporary element ID based on full element name
|
TempMetadataID |
getTempGroupID(String tempGroup)
Get temporary group ID based on group name
|
TempMetadataID |
removeTempGroup(String tempGroup) |
public TempMetadataStore()
public TempMetadataStore(NavigableMap<String,TempMetadataID> data)
data - Map of upper case group name to group TempMetadataID objectpublic TempMetadataStore clone()
public NavigableMap<String,TempMetadataID> getData()
data - Map of upper case group name to group TempMetadataID objectpublic TempMetadataID addTempGroup(String tempGroup, List tempSymbols)
tempGroup - Name of temp grouptempSymbols - List of ElementSymbol in position orderpublic TempMetadataID addTempGroup(String tempGroup, List tempSymbols, boolean isVirtual)
tempGroup - Name of temp grouptempSymbols - List of ElementSymbol in position orderisVirtual - whether or not the group is a virtual grouppublic TempMetadataID addTempGroup(String tempGroup, List<? extends Expression> tempSymbols, boolean isVirtual, boolean isTempTable)
tempGroup - Name of temp grouptempGroupDefinition - optional definition if the tempGroup
param is the aliased name of a grouptempSymbols - List of ElementSymbol in position orderisVirtual - whether or not the group is a virtual groupisTempTable - whether or not the group is a temporary tablepublic TempMetadataID addElementSymbolToTempGroup(String tempGroup, Expression symbol)
tempGroup - - temp group namesymbol - - element to be addedpublic TempMetadataID getTempGroupID(String tempGroup)
tempGroup - Group namepublic TempMetadataID getTempElementID(String tempElement)
tempElement - Element namepublic List<TempMetadataID> getTempElementElementIDs(String tempGroup)
tempGroup - Group nametempElement - Short element namepublic void addElementToTempGroup(String tempGroup, ElementSymbol symbol)
public TempMetadataID removeTempGroup(String tempGroup)
Copyright © 2019. All rights reserved.