Yes the length attribute could be used to limit the length of a String, just 
like it does in most other databases. 
Use cases are mostly in the area of serial numbers, order numbers, invoice 
numbers, article codes, zip codes etc.
> Date: Mon, 3 May 2010 17:05:35 +0200
> From: matt...@neotechnology.com
> To: user@lists.neo4j.org
> Subject: Re: [Neo] indexing mode on MetamodelProperties
> 
> You mean to limit the length of a String? I'd say it's a little bit
> unnecessary, at least I see no point in it. Could you provide a usecase for
> it?
> 
> 2010/5/1 Niels Hoogeveen <pd_aficion...@hotmail.com>
> 
> >
> > Thanks Mattias,
> > Having added this. I wonder if it would be a good idea to have a length
> > attribute on MetaModelProperty, like found in schemas of all relational
> > databases. For string properties such an attribute makes perfect sense, for
> > ints and longs such an attribute only makes sense as long as the length
> > attribute lies within the range of the underlying primitives, but for chars,
> > bytes and booleans the attribute makes no sense at all.
> > We could opt for spelling out all specific propertytypes, automatically
> > assigning them with the correct DatatypeClassRange and only providing a
> > length attribute on those propertytypes where a length attribute makes
> > sense.
> > Any thoughts on this?
> > Niels
> > > Date: Sat, 1 May 2010 08:49:35 +0200
> > > From: matt...@neotechnology.com
> > > To: user@lists.neo4j.org
> > > Subject: Re: [Neo] indexing mode on MetamodelProperties
> > >
> > > Great, good to see you progressing with the meta model!
> > >
> > > 2010/5/1, Niels Hoogeveen <pd_aficion...@hotmail.com>:
> > > >
> > > > Today I added an indexing mode to MetamodelProperties, with the
> > following
> > > > options.
> > > > NO_INDEX (default)INDEX UNIQUE_INDEXFULL_TEXT_INDEX
> > > > The functionality added does not perform any indexing itself, but
> > provides
> > > > information about which properties need to be indexed and what mode of
> > > > indexing needs to used.
> > > > _________________________________________________________________
> > > > Express yourself instantly with MSN Messenger! Download today it's
> > FREE!
> > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > > > _______________________________________________
> > > > Neo mailing list
> > > > User@lists.neo4j.org
> > > > https://lists.neo4j.org/mailman/listinfo/user
> > > >
> > >
> > >
> > > --
> > > Mattias Persson, [matt...@neotechnology.com]
> > > Hacker, Neo Technology
> > > www.neotechnology.com
> > > _______________________________________________
> > > Neo mailing list
> > > User@lists.neo4j.org
> > > https://lists.neo4j.org/mailman/listinfo/user
> >
> > _________________________________________________________________
> > New Windows 7: Simplify what you do everyday. Find the right PC for you.
> > http://windows.microsoft.com/shop
> > _______________________________________________
> > Neo mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> 
> 
> 
> -- 
> Mattias Persson, [matt...@neotechnology.com]
> Hacker, Neo Technology
> www.neotechnology.com
> _______________________________________________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
                                          
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to