GithubHelp home page GithubHelp logo

circles-arrows / functionalid Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 462 KB

An plugin for Neo4j that adds auto-increment support

Home Page: https://blueprint41.com/

License: MIT License

Java 100.00%
neo4j plugin

functionalid's Introduction

blueprint41 functionalId

Blueprint41 contains blueprint41 neo4j procedures

Functional ID generator

Functional Id's can be generated via a procedure on Neo4j (version 3+). The database is used to persist the Functional Id state.

Create Functional ID generator

blueprint41.functionalid.create( String label, String prefix, long startFrom)
returns the FunctionalId state.
parameter description
Label The entity where you want to create the functional id's for
Prefix The prefix which will be used in the functional id
startFrom A number is used to generate a 6 character hash, this makes it possible to start from a higher number without interfering with existing id's generated in a project.

Example:

Create one new functional ID

blueprint41.functionalid.next(String label) returns a value

Label The entity where you want to create the new functional id for

Example:

Generate a batch of new ID's

This is handy when you want to do bulk loads. Note that a functional id is only generated once.

blueprint41.functionalid.nextBatch(String label, long batchSize)
returns a value
parameter description
Label The entity where you want to create the new functional id for
batchSize The amount of functional id's which must be generated

Example:

Current state

Show the current state of an functional Id generator.

blueprint41.functionalid.current(String label)

Example:

List all functional id generators

blueprint41.functionalid.list()
returns a list with all the functional id states.

Example:

Drop functional id generator

HANDLE with care!!

blueprint41.functionalid.dropdefinition(String Label)

Example:

functionalid's People

Contributors

circles-arrows avatar neo-blueprint41 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.