public class TypeQueryExtensionsImpl extends Object implements TypeQueryExtensions, Externalizable
Constructor and Description |
---|
TypeQueryExtensionsImpl()
required for Externalizable
|
TypeQueryExtensionsImpl(SpaceTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
void |
add(String path,
Class<? extends Annotation> annotationType) |
void |
add(String path,
QueryExtensionPathInfo queryExtensionPathInfo) |
TypeQueryExtension |
getByNamespace(String namespace)
Returns type query extension metadata
TypeQueryExtension of specified namespace |
Collection<String> |
getNamespaces()
Returns all namespaces which are registered for this type
|
boolean |
isIndexed(String namespace,
String path)
Determines if path of namespace is indexed.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public TypeQueryExtensionsImpl()
public TypeQueryExtensionsImpl(SpaceTypeInfo typeInfo)
public void add(String path, Class<? extends Annotation> annotationType)
public void add(String path, QueryExtensionPathInfo queryExtensionPathInfo)
public boolean isIndexed(String namespace, String path)
TypeQueryExtensions
isIndexed
in interface TypeQueryExtensions
namespace
- the namespace of query extensionpath
- the path in the documentpublic Collection<String> getNamespaces()
TypeQueryExtensions
getNamespaces
in interface TypeQueryExtensions
public TypeQueryExtension getByNamespace(String namespace)
TypeQueryExtensions
TypeQueryExtension
of specified namespacegetByNamespace
in interface TypeQueryExtensions
namespace
- the namespace of query extensionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.