public interface VarProperty
VarAdmin, such as "isa movie" or "has name 'Jim'"| Modifier and Type | Method and Description |
|---|---|
void |
buildString(StringBuilder builder)
Build a Graql string representation of this property
|
java.util.stream.Stream<VarAdmin> |
getImplicitInnerVars()
Get a stream of any inner
VarAdmin within this `VarProperty`, including any that may have been
implicitly created (such as with "has-resource"). |
java.util.stream.Stream<VarAdmin> |
getInnerVars()
Get a stream of any inner
VarAdmin within this `VarProperty`. |
java.util.stream.Stream<VarAdmin> |
getTypes()
Get a stream of
VarAdmin that must be types. |
default String |
graqlString()
Get the Graql string representation of this property
|
default boolean |
isUnique()
True if there is at most one of these properties for each
VarAdmin |
void buildString(StringBuilder builder)
builder - a string builder to append todefault String graqlString()
java.util.stream.Stream<VarAdmin> getTypes()
VarAdmin that must be types.java.util.stream.Stream<VarAdmin> getInnerVars()
VarAdmin within this `VarProperty`.java.util.stream.Stream<VarAdmin> getImplicitInnerVars()
VarAdmin within this `VarProperty`, including any that may have been
implicitly created (such as with "has-resource").default boolean isUnique()
VarAdminCopyright © 2016. All rights reserved.