|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.rdf.internal.impl.extensions.DateTimeExtension<V>
public class DateTimeExtension<V extends BigdataValue>
This implementation of IExtension implements inlining for literals
that represent xsd:dateTime literals. These literals will be stored as time
in milliseconds since the epoch. The milliseconds are encoded as an inline
long.
| Constructor Summary | |
|---|---|
DateTimeExtension(IDatatypeURIResolver resolver,
TimeZone defaultTZ)
|
|
| Method Summary | |
|---|---|
V |
asValue(LiteralExtensionIV iv,
BigdataValueFactory vf)
Use the long value of the XSDLongIV delegate (which represents
milliseconds since the epoch) to create a an XMLGregorianCalendar
object (GMT timezone). |
LiteralExtensionIV |
createIV(Value value)
Attempts to convert the supplied value into an epoch representation. |
Set<BigdataURI> |
getDatatypes()
Return the fully resolved datatype(s) handled by this interface in the form of a BigdataURI with the TermId already set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimeExtension(IDatatypeURIResolver resolver,
TimeZone defaultTZ)
| Method Detail |
|---|
public Set<BigdataURI> getDatatypes()
IExtensionBigdataURI with the TermId already set.
getDatatypes in interface IExtension<V extends BigdataValue>public LiteralExtensionIV createIV(Value value)
XSDLongIV, and returns an LiteralExtensionIV to wrap the native
type.
createIV in interface IExtension<V extends BigdataValue>value - The RDF Value
IV -or- null if the
Value can not be inlined using this IExtension.
public V asValue(LiteralExtensionIV iv,
BigdataValueFactory vf)
XSDLongIV delegate (which represents
milliseconds since the epoch) to create a an XMLGregorianCalendar
object (GMT timezone). Use the XMLGregorianCalendar to create a datatype
literal value with the appropriate datatype.
asValue in interface IExtension<V extends BigdataValue>iv - The extension IVvf - The bigdata value factory
Value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||