public class FunctionResource extends java.lang.Object implements IResource
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Set<Permission> | applicablePermissions()Returns the set of Permissions that may be applied to this resource
 Certain permissions are not applicable to particular types of resources. | 
| int | compareTo(FunctionResource o) | 
| boolean | equals(java.lang.Object o) | 
| boolean | exists() | 
| static FunctionResource | fromName(java.lang.String name)Parses a resource name into a FunctionResource instance. | 
| static FunctionResource | function(java.lang.String keyspace,
        java.lang.String name,
        java.util.List<AbstractType<?>> argTypes)Creates a FunctionResource representing a specific, keyspace-scoped function. | 
| static FunctionResource | functionFromCql(java.lang.String keyspace,
               java.lang.String name,
               java.util.List<CQL3Type.Raw> argTypes)Creates a FunctionResource representing a specific, keyspace-scoped function. | 
| FunctionName | getFunctionName() | 
| java.lang.String | getKeyspace()Get the name of the keyspace this resource relates to. | 
| java.lang.String | getName() | 
| IResource | getParent()Gets next resource in the hierarchy. | 
| int | hashCode() | 
| boolean | hasParent()Indicates whether or not this resource has a parent in the hierarchy. | 
| static FunctionResource | keyspace(java.lang.String keyspace)Creates a FunctionResource representing the collection of functions scoped
 to a specific keyspace. | 
| static FunctionResource | root() | 
| java.lang.String | toString() | 
public static FunctionResource root()
public static FunctionResource keyspace(java.lang.String keyspace)
keyspace - name of the keyspacepublic static FunctionResource function(java.lang.String keyspace, java.lang.String name, java.util.List<AbstractType<?>> argTypes)
keyspace - the keyspace in which the function is scopedname - name of the function.argTypes - the types of the arguments to the functionpublic static FunctionResource functionFromCql(java.lang.String keyspace, java.lang.String name, java.util.List<CQL3Type.Raw> argTypes)
keyspace - the keyspace in which the function is scopedname - name of the function.argTypes - the types of the function arguments in raw CQL formpublic static FunctionResource fromName(java.lang.String name)
name - Name of the function resource.public java.lang.String getName()
public java.lang.String getKeyspace()
public FunctionName getFunctionName()
public IResource getParent()
IResourcepublic boolean hasParent()
IResourcepublic boolean exists()
public java.util.Set<Permission> applicablePermissions()
IResourceapplicablePermissions in interface IResourcepublic int compareTo(FunctionResource o)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018 The Apache Software Foundation