public interface FunctionMetadata extends Describable
Modifier and Type | Method and Description |
---|---|
default String |
describe(boolean pretty)
Returns a single CQL statement that creates the element.
|
default String |
describeWithChildren(boolean pretty)
Returns a CQL script that creates the element and all of its children.
|
String |
getBody() |
CqlIdentifier |
getKeyspace() |
String |
getLanguage() |
List<CqlIdentifier> |
getParameterNames()
The names of the parameters.
|
DataType |
getReturnType() |
FunctionSignature |
getSignature() |
boolean |
isCalledOnNullInput() |
@NonNull CqlIdentifier getKeyspace()
@NonNull FunctionSignature getSignature()
@NonNull List<CqlIdentifier> getParameterNames()
getSignature().getParameterTypes()
@NonNull String getBody()
boolean isCalledOnNullInput()
@NonNull String getLanguage()
@NonNull DataType getReturnType()
@NonNull default String describe(boolean pretty)
Describable
describe
in interface Describable
pretty
- if true
, make the output more human-readable (line breaks, indents, and
pretty identifiers
). If false
, return the
statement on a single line with minimal formatting.@NonNull default String describeWithChildren(boolean pretty)
Describable
describeWithChildren
in interface Describable
pretty
- if true
, make the output more human-readable (line breaks, indents, and
pretty identifiers
). If false
, return each
statement on a single line with minimal formatting.Copyright © 2017–2020. All rights reserved.