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, get
public ContextDerivedData getContextDerivedData()
IQueryContext
public File getPrimaryFile()
IQueryContext
public String getPrefix()
IQueryContext
public String mapToExternalIdentifier(int objectId) throws SnapshotException
IQueryContext
IQueryContext.mapToObjectId(java.lang.String)
SnapshotException
IQueryContext.mapToObjectId(java.lang.String)
public int mapToObjectId(String externalIdentifier) throws SnapshotException
IQueryContext
IQueryContext.mapToExternalIdentifier(int)
SnapshotException
public Object parse(Class<?> type, Argument.Advice advice, String[] args, ParsePosition pos) throws SnapshotException
IQueryContext
SnapshotException
public boolean parses(Class<?> type, Argument.Advice advice)
IQueryContext