Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh-525: Document getGraphCreatedTime Operation #526

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/home_page_override/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
</style>
<!-- Announcement banner for latest updates -->
<a href="change-notes/changelist/v2-changes/">Gaffer 2.0.0 is now released!</a>
<a href="change-notes/changelist/v2-changes.html">Gaffer 2.0.0 is now released!</a>
{% endblock %}

<!-- Keep normal tabs across the top -->
Expand Down Expand Up @@ -160,7 +160,7 @@
<div class="main-banner_content">
<h1>Gaffer Docs</h1>
<p>Official documentation for Gaffer, a large-scale entity and relation database supporting aggregation of properties.</p>
<a href="user-guide/gaffer-basics/what-is-gaffer" class="md-button md-button--primary">
<a href="user-guide/gaffer-basics/what-is-gaffer.html" class="md-button md-button--primary">
Get started
</a>
<a href="https://github.com/gchq/Gaffer" class="md-button">
Expand All @@ -176,7 +176,7 @@ <h1>Gaffer Docs</h1>

<!-- User guide Button -->
<div class="ql-button">
<a href="user-guide/introduction">
<a href="user-guide/introduction.html">
<h2>
<svg xmlns="http://www.w3.org/2000/svg" height="28" viewBox="0 -960 960 960" width="28">
<path
Expand All @@ -190,7 +190,7 @@ <h2>

<!-- Developer guide Button -->
<div class="ql-button">
<a href="development-guide/introduction">
<a href="development-guide/introduction.html">
<h2>
<svg xmlns="http://www.w3.org/2000/svg" height="28" viewBox="0 -960 960 960" width="28">
<path
Expand All @@ -204,7 +204,7 @@ <h2>

<!-- Admin guide button -->
<div class="ql-button">
<a href="administration-guide/introduction">
<a href="administration-guide/introduction.html">
<h2>
<svg xmlns="http://www.w3.org/2000/svg" height="28" viewBox="0 -960 960 960" width="28">
<path
Expand Down
40 changes: 40 additions & 0 deletions docs/reference/operations-guide/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -4061,7 +4061,47 @@ The examples use a ToSet operation after the ToVertices operation to deduplicate
``` json
[ 4, 3, 2, 5 ]
```
## GetGraphCreatedTime

Gets the creation date of the current graph. [Javadoc](https://gchq.github.io/Gaffer/uk/gov/gchq/gaffer/store/operation/GetGraphCreatedTime.html)

??? example "Example getting the graph created time"

=== "Java"

``` java
final GetGraphCreatedTime operation = new GetGraphCreatedTime();
```

=== "JSON"

``` json
{
"class": "uk.gov.gchq.gaffer.operation.impl.get.GetGraphCreatedTime"
}
```

=== "Python"

``` python
g.GetGraphCreatedTime()
```

Results:

=== "Java"

``` java
{graphId=2024-08-22T12:37:53.498}
```

=== "JSON"

``` json
{
"graphId": "2024-08-22T12:37:53.498"
}
```
## GetSchema

Gets the Schema of a Graph. [Javadoc](https://gchq.github.io/Gaffer/uk/gov/gchq/gaffer/store/operation/GetSchema.html)
Expand Down