Class AccStateProperty<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.AccStateProperty<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 longprotected booleanprotected AccStateGon<I,E, K, V> protected ObjectThe current materialized valueFields 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
ConstructorsConstructorDescriptionAccStateProperty(Object matchStateId, K memberKey, AccStateGon<I, E, K, V> targetAcc, boolean isSingle) -
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.voidtoString()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
-
targetAcc
-
skipOutputStartedHere
protected boolean skipOutputStartedHere -
seenTargetCount
protected long seenTargetCount -
value
The current materialized value
-
-
Constructor Details
-
AccStateProperty
-
-
Method Details
-
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.
-