public class ProviderContextImpl extends QueryContextImpl
| Constructor and Description |
|---|
ProviderContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
ContextDerivedData |
getContextDerivedData()
For example, retained size derived data.
|
String |
getPrefix()
The prefix for files generated from snapshot
|
File |
getPrimaryFile()
The main file for the snapshot
|
String |
mapToExternalIdentifier(int objectId)
Map an id to a readable form.
|
int |
mapToObjectId(String externalIdentifier)
Map readable form to internal id.
|
Object |
parse(Class<?> type,
Argument.Advice advice,
String[] args,
ParsePosition pos)
Consume the special data.
|
boolean |
parses(Class<?> type,
Argument.Advice advice)
Is special parsing required to get an object of the required type?
|
available, converts, convertToString, convertToValue, getpublic ContextDerivedData getContextDerivedData()
IQueryContextpublic File getPrimaryFile()
IQueryContextpublic String getPrefix()
IQueryContextpublic String mapToExternalIdentifier(int objectId) throws SnapshotException
IQueryContextIQueryContext.mapToObjectId(java.lang.String)SnapshotExceptionIQueryContext.mapToObjectId(java.lang.String)public int mapToObjectId(String externalIdentifier) throws SnapshotException
IQueryContextIQueryContext.mapToExternalIdentifier(int)SnapshotExceptionpublic Object parse(Class<?> type, Argument.Advice advice, String[] args, ParsePosition pos) throws SnapshotException
IQueryContextSnapshotExceptionpublic boolean parses(Class<?> type, Argument.Advice advice)
IQueryContext