Interface MarkLogicPersistentEntity<T>
-
- All Superinterfaces:
Iterable<MarkLogicPersistentProperty>
,org.springframework.data.mapping.PersistentEntity<T,MarkLogicPersistentProperty>
- All Known Implementing Classes:
BasicMarkLogicPersistentEntity
public interface MarkLogicPersistentEntity<T> extends org.springframework.data.mapping.PersistentEntity<T,MarkLogicPersistentProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBaseUri()
Returns the base URI of the entity.String
getCollection()
Returns the collection the entity shall be persisted to.com.marklogic.client.io.Format
getDocumentFormat()
Determines the serialization format for the entity, i.e.Class<? extends ServerTransformer>
getTransformer()
Gets the configured server transformer classString
getTypeName()
Gets the name of the type to use when interacting with the databaseTypePersistenceStrategy
getTypePersistenceStrategy()
Returns the strategy for determining how to preserve "type" information about a document.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
-
-
-
Method Detail
-
getBaseUri
String getBaseUri()
Returns the base URI of the entity.
-
getCollection
String getCollection()
Returns the collection the entity shall be persisted to.
-
getTypePersistenceStrategy
TypePersistenceStrategy getTypePersistenceStrategy()
Returns the strategy for determining how to preserve "type" information about a document.
-
getDocumentFormat
com.marklogic.client.io.Format getDocumentFormat()
Determines the serialization format for the entity, i.e. JSON, XML, or binary formats
-
getTypeName
String getTypeName()
Gets the name of the type to use when interacting with the database
-
getTransformer
Class<? extends ServerTransformer> getTransformer()
Gets the configured server transformer class
-
-