public class CassandraCqlClusterParser extends AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE| Constructor and Description |
|---|
CassandraCqlClusterParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doParse(Element element,
ParserContext context,
BeanDefinitionBuilder builder)
Parses the attributes on the top level element, then parses all children.
|
protected BeanDefinition |
getSocketOptionsBeanDefinition(Element element,
ParserContext context)
Returns a
BeanDefinition for a SocketOptions object. |
protected void |
parseChildElements(Element element,
ParserContext context,
BeanDefinitionBuilder builder)
Parse the Child Element of
DefaultCqlBeanNames.CLUSTER |
protected AbstractBeanDefinition |
parseInternal(Element element,
ParserContext parserContext) |
protected BeanDefinitionBuilder |
parsePoolingOptions(Element element,
BeanDefinitionBuilder builder,
com.datastax.driver.core.HostDistance hostDistance)
Returns a
BeanDefinition for a PoolingOptions object. |
protected void |
parseReplication(Element element,
BeanDefinitionBuilder builder)
Parses the keyspace replication options and adds them to the supplied
BeanDefinitionBuilder. |
protected String |
parseScript(Element element)
Parse CQL Script Elements
|
protected String |
resolveId(Element element,
AbstractBeanDefinition definition,
ParserContext parserContext) |
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallbackprotected String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext) throws BeanDefinitionStoreException
resolveId in class AbstractBeanDefinitionParserBeanDefinitionStoreExceptionprotected AbstractBeanDefinition parseInternal(Element element, ParserContext parserContext)
parseInternal in class AbstractBeanDefinitionParserprotected void doParse(Element element, ParserContext context, BeanDefinitionBuilder builder)
element - The Element being parsedcontext - The Parser Contextbuilder - The parent BeanDefinitionBuilderprotected void parseChildElements(Element element, ParserContext context, BeanDefinitionBuilder builder)
DefaultCqlBeanNames.CLUSTERelement - The Element being parsedcontext - The Parser Contextbuilder - The parent BeanDefinitionBuilderprotected void parseReplication(Element element, BeanDefinitionBuilder builder)
BeanDefinitionBuilder.element - The Element being parsedbuilder - The BeanDefinitionBuilder to add the replication toprotected String parseScript(Element element)
element - The Element being parsedprotected BeanDefinitionBuilder parsePoolingOptions(Element element, BeanDefinitionBuilder builder, com.datastax.driver.core.HostDistance hostDistance)
BeanDefinition for a PoolingOptions object.element - The Element being parsedbuilder - The BeanDefinition to use for building if one already existshostDistance - The scope of the PoolingOptions to applyBeanDefinitionBuilderprotected BeanDefinition getSocketOptionsBeanDefinition(Element element, ParserContext context)
BeanDefinition for a SocketOptions object.element - The Element being parsedcontext - The ParserContextBeanDefinitionCopyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.