All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.cypher.executionPlan.DefaultExecutionStep Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.cypher.executionPlan;

import java.util.stream.Stream;

public abstract class DefaultExecutionStep implements ExecutionStep {
    public String toStringFull() {
        return toString();
    }

    @Override
    public String toString() {
        String name = getClass().getSimpleName();
        if (name.length() == 0) {
            name = getClass().getName();
            int l = name.lastIndexOf('.');
            if (l >= 0) {
                name = name.substring(l + 1);
            }
        }
        return name;
    }

    @Override
    public Stream getChildSteps() {
        return Stream.empty();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy