Class PropertyDefinitions
java.lang.Object
org.apache.cassandra.cql3.statements.PropertyDefinitions
- Direct Known Subclasses:
IndexAttributes,KeyspaceAttributes,TableAttributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String name, String value) voidaddProperty(String name, Map<String, String> value) booleangetBoolean(String key, boolean defaultValue) doubleintprotected StringbooleanhasProperty(String name) static booleanparseBoolean(String key, String value) static doubleparseDouble(String key, String value) static intvoidremoveProperty(String name) Returns the name of all the properties that are updated by this object.void
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
properties
-
-
Constructor Details
-
PropertyDefinitions
public PropertyDefinitions()
-
-
Method Details
-
addProperty
- Throws:
SyntaxException
-
addProperty
- Throws:
SyntaxException
-
validate
- Throws:
SyntaxException
-
updatedProperties
Returns the name of all the properties that are updated by this object. -
removeProperty
-
hasProperty
-
getString
- Throws:
SyntaxException
-
getMap
- Throws:
SyntaxException
-
getBoolean
- Throws:
SyntaxException
-
parseBoolean
- Throws:
SyntaxException
-
getInt
- Throws:
SyntaxException
-
parseInt
- Throws:
SyntaxException
-
getDouble
- Throws:
SyntaxException
-
parseDouble
- Throws:
SyntaxException
-