public class NameSpace extends UpdatableChronicleImpl
ChronicleImpl.RawData| Constructor and Description |
|---|
NameSpace(String name,
String description,
Surrogate surrogate)
Construct a name space, also known as top level chronicle.
|
| Modifier and Type | Method and Description |
|---|---|
<T> UpdatableSeries<T> |
createSeries(String name)
Always throws an exception.
|
void |
destroy()
Always throws an exception.
|
UpdatableChronicle |
edit()
Return this object.
|
boolean |
equals(Object obj) |
Attribute<?> |
getAttribute(String name,
boolean mustExist)
Always throws an exception.
|
Chronicle |
getCollection()
Return null.
|
String |
getDescription(boolean full)
Return the description of the chronicle.
|
List<String> |
getDescriptions()
Return the list of all descriptions along the chronicle chain.
|
String |
getName(boolean full)
Return the name of the chronicle.
|
List<String> |
getNames()
Return the list of all names along the chronicle chain.
|
Schema |
getSchema(boolean effective)
Return null.
|
<T> Series<T> |
getSeries(String name)
Always throws an exception.
|
int |
hashCode() |
boolean |
isTopChronicle()
Return true.
|
void |
setAttribute(Attribute<?> value)
Always throws an exception.
|
void |
setDescription(String description)
Always throws an exception.
|
void |
setName(String name)
Always throws an exception.
|
String |
toString() |
<T> UpdatableSeries<T> |
updateSeries(String name)
Always throws an exception.
|
applyUpdates, createChronicle, setCollection, setSchema, update, updateAttributesfindChronicle, getAttributes, getChronicle, getMembers, getSeries, getSeries, isMemberOfgetDatabase, getId, getSurrogate, inConstruction, isValidclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindChronicle, getAttributes, getChronicle, getMembers, getSeries, getSeries, isMemberOfgetDatabase, getId, getSurrogate, inConstruction, isValidpublic UpdatableChronicle edit()
edit in interface Chronicleedit in class UpdatableChronicleImplpublic boolean isTopChronicle()
isTopChronicle in interface ChronicleisTopChronicle in class ChronicleImplpublic Chronicle getCollection() throws T2DBException
getCollection in interface ChroniclegetCollection in class UpdatableChronicleImplT2DBExceptionpublic Schema getSchema(boolean effective) throws T2DBException
getSchema in interface ChroniclegetSchema in class UpdatableChronicleImpleffective - if true return the first non-null schema along the chronicle chainT2DBExceptionpublic String getName(boolean full) throws T2DBException
The simple name and the full name are identical. By convention the name space is named after the database.
getName in interface ChroniclegetName in class UpdatableChronicleImplfull - if true return the full name, else the simple nameT2DBExceptionpublic List<String> getNames() throws T2DBException
ChroniclegetNames in interface ChroniclegetNames in class ChronicleImplT2DBExceptionpublic String getDescription(boolean full) throws T2DBException
ChroniclegetDescription in interface ChroniclegetDescription in class UpdatableChronicleImplfull - if true return the full description, else the simple
descriptionT2DBExceptionpublic List<String> getDescriptions() throws T2DBException
ChroniclegetDescriptions in interface ChroniclegetDescriptions in class ChronicleImplT2DBExceptionpublic Attribute<?> getAttribute(String name, boolean mustExist) throws T2DBException
getAttribute in interface ChroniclegetAttribute in class UpdatableChronicleImplname - a stringmustExist - if true throw an exception instead of returning nullT2DBExceptionpublic <T> Series<T> getSeries(String name) throws T2DBException
getSeries in interface ChroniclegetSeries in class UpdatableChronicleImplT - the data type of the underlying time seriesname - the simple name if the seriesT2DBExceptionpublic <T> UpdatableSeries<T> createSeries(String name) throws T2DBException
createSeries in interface UpdatableChroniclecreateSeries in class UpdatableChronicleImplname - a series name defined in the schemaT2DBExceptionpublic <T> UpdatableSeries<T> updateSeries(String name) throws T2DBException
updateSeries in interface UpdatableChronicleupdateSeries in class UpdatableChronicleImplname - a series name defined in the schemaT2DBExceptionpublic void setName(String name) throws T2DBException
setName in interface UpdatableChroniclesetName in class UpdatableChronicleImplname - a stringT2DBExceptionpublic void setDescription(String description) throws T2DBException
setDescription in interface UpdatableChroniclesetDescription in class UpdatableChronicleImpldescription - a stringT2DBExceptionpublic void setAttribute(Attribute<?> value) throws T2DBException
setAttribute in interface UpdatableChroniclesetAttribute in class UpdatableChronicleImplvalue - an attributeT2DBExceptionpublic void destroy()
throws T2DBException
destroy in interface UpdatableChronicledestroy in class UpdatableChronicleImplT2DBExceptionpublic int hashCode()
hashCode in class DBObjectImplpublic boolean equals(Object obj)
equals in class DBObjectImplpublic String toString()
toString in class ChronicleImplCopyright © 2017. All rights reserved.