Class AccStateLiteralProperty<I,E,K,V>
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateBase<I,E,K,V>
org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStateTransitionBase<I,E,K,V>
org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStatePropertyBase<I,E,K,V>
org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStateLiteralProperty<I,E,K,V>
- All Implemented Interfaces:
AccState<I,,E> AccStateGon<I,,E, K, V> AccStateTypeProduceEntry<I,,E, K, V> AccStateTypeTransition<I,E, K, V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BiFunction<I,E, ? extends V> protected longprotected booleanprotected booleanprotected ObjectFields inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStatePropertyBase
isSingle, memberKeyFields inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStateTransitionBase
matchStateIdFields inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateBase
context, currentInput, currentSourceNode, hasBegun, oldSourceNode, parent, parentInput, skipOutput, stateId -
Constructor Summary
ConstructorsConstructorDescriptionAccStateLiteralProperty(Object matchStateId, K memberKey, boolean isSingle, boolean skipIfNull, BiFunction<I, E, ? extends V> inputToValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the source node which subsequent triples must match in addition to the fieldId.children()Sub-accumulators must be enumerated in the correct order.voidstatic <I,E, K, V> AccStateLiteralProperty<I, E, K, V> of(Object matchStateId, K memberKey, boolean isSingle, boolean skipIfNull, BiFunction<I, E, ? extends V> inputToValue) toString()AccStateGon<I,E, K, V> transitionActual(Object inputStateId, I input, E env) Accepts a triple if source and field id match that of the current stateMethods inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStatePropertyBase
getMemberKey, isSingleMethods inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStateTransitionBase
getMatchStateIdMethods inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateBase
begin, end, ensureBegun, getParent, getStateId, hasBegun, setContext, setContextOnChildren, setParent, transitionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccState
begin, end, getStateId, hasBegunMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateGon
getParent, getRoot, setContext, setParent, transitionMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateTypeProduceEntry
getGonType
-
Field Details
-
skipIfNull
protected boolean skipIfNull -
inputToValue
-
skipOutputStartedHere
protected boolean skipOutputStartedHere -
seenTargetCount
protected long seenTargetCount -
value
-
-
Constructor Details
-
AccStateLiteralProperty
-
-
Method Details
-
of
public static <I,E, AccStateLiteralProperty<I,K, V> E, ofK, V> (Object matchStateId, K memberKey, boolean isSingle, boolean skipIfNull, BiFunction<I, E, ? extends V> inputToValue) -
beginActual
Sets the source node which subsequent triples must match in addition to the fieldId. This method should be called by the owner of the edge such as AccJsonObject.- Overrides:
beginActualin classAccStateBase<I,E, K, V> - Throws:
IOException
-
transitionActual
public AccStateGon<I,E, transitionActualK, V> (Object inputStateId, I input, E env) throws IOException Accepts a triple if source and field id match that of the current state- Specified by:
transitionActualin classAccStateBase<I,E, K, V> - Throws:
IOException
-
endActual
- Overrides:
endActualin classAccStateBase<I,E, K, V> - Throws:
IOException
-
toString
-
children
Description copied from interface:AccStateSub-accumulators must be enumerated in the correct order.
-