|
| 1 | +/* |
| 2 | + * Copyright (c) "Neo4j" |
| 3 | + * Neo4j Sweden AB [http://neo4j.com] |
| 4 | + * |
| 5 | + * This file is part of Neo4j. |
| 6 | + * |
| 7 | + * Neo4j is free software: you can redistribute it and/or modify |
| 8 | + * it under the terms of the GNU General Public License as published by |
| 9 | + * the Free Software Foundation, either version 3 of the License, or |
| 10 | + * (at your option) any later version. |
| 11 | + * |
| 12 | + * This program is distributed in the hope that it will be useful, |
| 13 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | + * GNU General Public License for more details. |
| 16 | + * |
| 17 | + * You should have received a copy of the GNU General Public License |
| 18 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | + */ |
| 20 | +package org.neo4j.gds.procedures.algorithms.embeddings; |
| 21 | + |
| 22 | +import org.neo4j.gds.applications.algorithms.machinery.MemoryEstimateResult; |
| 23 | +import org.neo4j.gds.procedures.algorithms.embeddings.stubs.NodeEmbeddingsStubs; |
| 24 | + |
| 25 | +import java.util.Map; |
| 26 | +import java.util.stream.Stream; |
| 27 | + |
| 28 | +public class PushbackNodeEmbeddingsProcedureFacade implements NodeEmbeddingsProcedureFacade { |
| 29 | + |
| 30 | + @Override |
| 31 | + public NodeEmbeddingsStubs nodeEmbeddingStubs() { |
| 32 | + return null; |
| 33 | + } |
| 34 | + |
| 35 | + @Override |
| 36 | + public Stream<FastRPStatsResult> fastRPStats(String graphName, Map<String, Object> configuration) { |
| 37 | + return Stream.empty(); |
| 38 | + } |
| 39 | + |
| 40 | + @Override |
| 41 | + public Stream<MemoryEstimateResult> fastRPStatsEstimate( |
| 42 | + Object graphNameOrConfiguration, |
| 43 | + Map<String, Object> algorithmConfiguration |
| 44 | + ) { |
| 45 | + return Stream.empty(); |
| 46 | + } |
| 47 | + |
| 48 | + @Override |
| 49 | + public Stream<DefaultNodeEmbeddingsStreamResult> fastRPStream(String graphName, Map<String, Object> configuration) { |
| 50 | + return Stream.empty(); |
| 51 | + } |
| 52 | + |
| 53 | + @Override |
| 54 | + public Stream<MemoryEstimateResult> fastRPStreamEstimate( |
| 55 | + Object graphNameOrConfiguration, |
| 56 | + Map<String, Object> algorithmConfiguration |
| 57 | + ) { |
| 58 | + return Stream.empty(); |
| 59 | + } |
| 60 | + |
| 61 | + @Override |
| 62 | + public Stream<DefaultNodeEmbeddingMutateResult> fastRPMutate(String graphName, Map<String, Object> configuration) { |
| 63 | + return Stream.empty(); |
| 64 | + } |
| 65 | + |
| 66 | + @Override |
| 67 | + public Stream<MemoryEstimateResult> fastRPMutateEstimate( |
| 68 | + Object graphNameOrConfiguration, |
| 69 | + Map<String, Object> algorithmConfiguration |
| 70 | + ) { |
| 71 | + return Stream.empty(); |
| 72 | + } |
| 73 | + |
| 74 | + @Override |
| 75 | + public Stream<DefaultNodeEmbeddingsWriteResult> fastRPWrite(String graphName, Map<String, Object> configuration) { |
| 76 | + return Stream.empty(); |
| 77 | + } |
| 78 | + |
| 79 | + @Override |
| 80 | + public Stream<MemoryEstimateResult> fastRPWriteEstimate( |
| 81 | + Object graphNameOrConfiguration, |
| 82 | + Map<String, Object> algorithmConfiguration |
| 83 | + ) { |
| 84 | + return Stream.empty(); |
| 85 | + } |
| 86 | + |
| 87 | + @Override |
| 88 | + public Stream<DefaultNodeEmbeddingsStreamResult> graphSageStream( |
| 89 | + String graphName, |
| 90 | + Map<String, Object> configuration |
| 91 | + ) { |
| 92 | + throw new UnsupportedOperationException("GraphSage is currently not supported."); |
| 93 | + } |
| 94 | + |
| 95 | + @Override |
| 96 | + public Stream<MemoryEstimateResult> graphSageStreamEstimate( |
| 97 | + Object graphNameOrConfiguration, |
| 98 | + Map<String, Object> algorithmConfiguration |
| 99 | + ) { |
| 100 | + throw new UnsupportedOperationException("GraphSage is currently not supported."); |
| 101 | + } |
| 102 | + |
| 103 | + @Override |
| 104 | + public Stream<DefaultNodeEmbeddingMutateResult> graphSageMutate( |
| 105 | + String graphName, |
| 106 | + Map<String, Object> configuration |
| 107 | + ) { |
| 108 | + throw new UnsupportedOperationException("GraphSage is currently not supported."); |
| 109 | + } |
| 110 | + |
| 111 | + @Override |
| 112 | + public Stream<MemoryEstimateResult> graphSageMutateEstimate( |
| 113 | + Object graphNameOrConfiguration, |
| 114 | + Map<String, Object> algorithmConfiguration |
| 115 | + ) { |
| 116 | + throw new UnsupportedOperationException("GraphSage is currently not supported."); |
| 117 | + } |
| 118 | + |
| 119 | + @Override |
| 120 | + public Stream<GraphSageTrainResult> graphSageTrain(String graphName, Map<String, Object> configuration) { |
| 121 | + throw new UnsupportedOperationException("GraphSage is currently not supported."); |
| 122 | + } |
| 123 | + |
| 124 | + @Override |
| 125 | + public Stream<MemoryEstimateResult> graphSageTrainEstimate( |
| 126 | + Object graphNameOrConfiguration, |
| 127 | + Map<String, Object> algorithmConfiguration |
| 128 | + ) { |
| 129 | + throw new UnsupportedOperationException("GraphSage is currently not supported."); |
| 130 | + } |
| 131 | + |
| 132 | + @Override |
| 133 | + public Stream<DefaultNodeEmbeddingsWriteResult> graphSageWrite( |
| 134 | + String graphName, |
| 135 | + Map<String, Object> configuration |
| 136 | + ) { |
| 137 | + throw new UnsupportedOperationException("GraphSage is currently not supported."); |
| 138 | + } |
| 139 | + |
| 140 | + @Override |
| 141 | + public Stream<MemoryEstimateResult> graphSageWriteEstimate( |
| 142 | + Object graphNameOrConfiguration, |
| 143 | + Map<String, Object> algorithmConfiguration |
| 144 | + ) { |
| 145 | + throw new UnsupportedOperationException("GraphSage is currently not supported."); |
| 146 | + } |
| 147 | + |
| 148 | + @Override |
| 149 | + public Stream<DefaultNodeEmbeddingsStreamResult> hashGnnStream( |
| 150 | + String graphName, |
| 151 | + Map<String, Object> configuration |
| 152 | + ) { |
| 153 | + return Stream.empty(); |
| 154 | + } |
| 155 | + |
| 156 | + @Override |
| 157 | + public Stream<MemoryEstimateResult> hashGnnStreamEstimate( |
| 158 | + Object graphNameOrConfiguration, |
| 159 | + Map<String, Object> algorithmConfiguration |
| 160 | + ) { |
| 161 | + return Stream.empty(); |
| 162 | + } |
| 163 | + |
| 164 | + @Override |
| 165 | + public Stream<DefaultNodeEmbeddingMutateResult> hashGnnMutate(String graphName, Map<String, Object> configuration) { |
| 166 | + return Stream.empty(); |
| 167 | + } |
| 168 | + |
| 169 | + @Override |
| 170 | + public Stream<MemoryEstimateResult> hashGnnMutateEstimate( |
| 171 | + Object graphNameOrConfiguration, |
| 172 | + Map<String, Object> algorithmConfiguration |
| 173 | + ) { |
| 174 | + return Stream.empty(); |
| 175 | + } |
| 176 | + |
| 177 | + @Override |
| 178 | + public Stream<DefaultNodeEmbeddingsWriteResult> hashGnnWrite(String graphName, Map<String, Object> configuration) { |
| 179 | + return Stream.empty(); |
| 180 | + } |
| 181 | + |
| 182 | + @Override |
| 183 | + public Stream<MemoryEstimateResult> hashGnnWriteEstimate( |
| 184 | + Object graphNameOrConfiguration, |
| 185 | + Map<String, Object> algorithmConfiguration |
| 186 | + ) { |
| 187 | + return Stream.empty(); |
| 188 | + } |
| 189 | + |
| 190 | + @Override |
| 191 | + public Stream<DefaultNodeEmbeddingsStreamResult> node2VecStream( |
| 192 | + String graphName, |
| 193 | + Map<String, Object> configuration |
| 194 | + ) { |
| 195 | + return Stream.empty(); |
| 196 | + } |
| 197 | + |
| 198 | + @Override |
| 199 | + public Stream<MemoryEstimateResult> node2VecStreamEstimate( |
| 200 | + Object graphNameOrConfiguration, |
| 201 | + Map<String, Object> algorithmConfiguration |
| 202 | + ) { |
| 203 | + return Stream.empty(); |
| 204 | + } |
| 205 | + |
| 206 | + @Override |
| 207 | + public Stream<Node2VecMutateResult> node2VecMutate(String graphName, Map<String, Object> configuration) { |
| 208 | + return Stream.empty(); |
| 209 | + } |
| 210 | + |
| 211 | + @Override |
| 212 | + public Stream<MemoryEstimateResult> node2VecMutateEstimate( |
| 213 | + Object graphNameOrConfiguration, |
| 214 | + Map<String, Object> algorithmConfiguration |
| 215 | + ) { |
| 216 | + return Stream.empty(); |
| 217 | + } |
| 218 | + |
| 219 | + @Override |
| 220 | + public Stream<Node2VecWriteResult> node2VecWrite(String graphName, Map<String, Object> configuration) { |
| 221 | + return Stream.empty(); |
| 222 | + } |
| 223 | + |
| 224 | + @Override |
| 225 | + public Stream<MemoryEstimateResult> node2VecWriteEstimate( |
| 226 | + Object graphNameOrConfiguration, |
| 227 | + Map<String, Object> algorithmConfiguration |
| 228 | + ) { |
| 229 | + return Stream.empty(); |
| 230 | + } |
| 231 | +} |
0 commit comments