Package org.neo4j.gds.approxmaxkcut
Class ApproxMaxKCutStreamProc
- java.lang.Object
-
- org.neo4j.gds.BaseProc
-
- org.neo4j.gds.AlgoBaseProc<ALGO,ALGO_RESULT,CONFIG>
-
- org.neo4j.gds.StreamProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,ApproxMaxKCutStreamProc.StreamResult,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
-
- org.neo4j.gds.approxmaxkcut.ApproxMaxKCutStreamProc
-
public class ApproxMaxKCutStreamProc extends org.neo4j.gds.StreamProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,ApproxMaxKCutStreamProc.StreamResult,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApproxMaxKCutStreamProc.StreamResult
-
Constructor Summary
Constructors Constructor Description ApproxMaxKCutStreamProc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.neo4j.gds.AlgorithmFactory<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>algorithmFactory()java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult>estimate(java.lang.Object graphNameOrConfig, java.util.Map<java.lang.String,java.lang.Object> configuration)protected org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfignewConfig(java.lang.String username, java.util.Optional<java.lang.String> graphName, java.util.Optional<org.neo4j.gds.config.GraphCreateConfig> maybeImplicitCreate, org.neo4j.gds.core.CypherMapWrapper config)protected org.neo4j.gds.api.NodePropertiesnodeProperties(org.neo4j.gds.AlgoBaseProc.ComputationResult<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig> computationResult)java.util.stream.Stream<ApproxMaxKCutStreamProc.StreamResult>stream(java.lang.Object graphNameOrConfig, java.util.Map<java.lang.String,java.lang.Object> configuration)protected ApproxMaxKCutStreamProc.StreamResultstreamResult(long originalNodeId, long internalNodeId, org.neo4j.gds.api.NodeProperties nodeProperties)-
Methods inherited from class org.neo4j.gds.AlgoBaseProc
compute, compute, computeEstimate, getOrCreateGraphStore, newConfig, processInput, procName, sharedConfigKeys, validateConfigsAfterLoad, validateConfigsBeforeLoad, validateConfigWithGraphStore
-
Methods inherited from class org.neo4j.gds.BaseProc
allocationTracker, catalogRequest, checkLicense, databaseId, estimateGraphCreate, graphStoreFromCatalog, isGdsAdmin, newLoader, runWithExceptionLogging, runWithExceptionLogging, tryValidateMemoryUsage, tryValidateMemoryUsage, username, validateConfig, validateConfig, validateGraphName
-
-
-
-
Method Detail
-
stream
public java.util.stream.Stream<ApproxMaxKCutStreamProc.StreamResult> stream(java.lang.Object graphNameOrConfig, java.util.Map<java.lang.String,java.lang.Object> configuration)
-
estimate
public java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult> estimate(java.lang.Object graphNameOrConfig, java.util.Map<java.lang.String,java.lang.Object> configuration)
-
newConfig
protected org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig newConfig(java.lang.String username, java.util.Optional<java.lang.String> graphName, java.util.Optional<org.neo4j.gds.config.GraphCreateConfig> maybeImplicitCreate, org.neo4j.gds.core.CypherMapWrapper config)- Specified by:
newConfigin classorg.neo4j.gds.AlgoBaseProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
-
algorithmFactory
protected org.neo4j.gds.AlgorithmFactory<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig> algorithmFactory()
- Specified by:
algorithmFactoryin classorg.neo4j.gds.AlgoBaseProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
-
streamResult
protected ApproxMaxKCutStreamProc.StreamResult streamResult(long originalNodeId, long internalNodeId, org.neo4j.gds.api.NodeProperties nodeProperties)
- Specified by:
streamResultin classorg.neo4j.gds.StreamProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,ApproxMaxKCutStreamProc.StreamResult,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
-
nodeProperties
protected org.neo4j.gds.api.NodeProperties nodeProperties(org.neo4j.gds.AlgoBaseProc.ComputationResult<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig> computationResult)
- Overrides:
nodePropertiesin classorg.neo4j.gds.AlgoBaseProc<org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCut.CutResult,org.neo4j.gds.impl.approxmaxkcut.ApproxMaxKCutStreamConfig>
-
-