Hi Frank,

Thanks for sharing your work so far. To answer your question below,
everything up to and including mDate is available via a getter on
DigitalObject directly. dcmDate is the date of the latest version of
the DC datastream. All the other properties are specific dc values,
which can be repeating. You'll have to parse the DC datastream to get
them. I think FieldSearchSQLImpl uses a utility class to do this.

- Chris

On Wed, Jul 13, 2011 at 4:44 AM, Asseg, Frank
<[email protected]> wrote:
> Hola Guys!
>
> sorry for the previous message not been complete please ignore it, i
> typed to fast for my dexterity level and must have hit "ctrl-enter" ;)
>
> building on top of Aaron HighLevelStorage PoC i used the following
> tables in HBase
>
> +----------------+
> | fedora_objects |
> +----------------+
> | key: PID       |
> | label          |
> | state          |
> | owner_id       |
> | c_date         |
> | m_date         |
> | content_raw    |
> +----------------+
>
> But im not quite sure what i have to search through in order for
> FieldSearch.findObjects() to return the appropriate results.
> It seems FieldSearchSQLImpl searches throught these fields:
>
> {"pid", "label", "state", "ownerId", "cDate", "mDate",
> "dcmDate", "dcTitle", "dcCreator", "dcSubject",
> "dcDescription", "dcPublisher", "dcContributor", "dcDate",
> "dcType", "dcFormat", "dcIdentifier", "dcSource",
> "dcLanguage", "dcRelation", "dcCoverage", "dcRights"}
>
> but im not quite sure on how to find these properties on a
> DigitalObject. Are these guarantueed to be in
> DigitalObject.getExtProperties()?
>
> if you wanna take a look at what im doing i have forked Aaron's PoC on
> github, but it's still very crude and misses essential parts, has no
> locking mechanism or concurrency gurarantuees:
>
> https://github.com/smeg4brains/fcrepo/tree/hlstore_hbase_poc
>
> with those storage impls:
> https://github.com/smeg4brains/fcrepo/tree/hlstore_hbase_poc/fcrepo-hlstore/src/main/java/org/fcrepo/server/storage/highlevel/hadoop
>
>
>
>
>
> --
> Frank Asseg
> ePublishing & eScience
> Development & Applied Research
> Phone +49 7247-808-515
> Fax +49 7247 808-133
> [email protected]
>
>
> FIZ Karlsruhe – Leibniz Institute for Information Infrastructure
> Hermann-von-Helmholtz-Platz 1
> 76344 Eggenstein-Leopoldshafen, Germany
>
> http://www.fiz-karlsruhe.de/

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to